Photon 1.0.0
Loading...
Searching...
No Matches
Font.cpp File Reference
#include "Font.h"
#include "canvas_ity.hpp"

Macros

#define _CRT_SECURE_NO_WARNINGS
 

Functions

string readfile (string filename)
 
void draw_image (canvas &cvs, int x, int y, const Bitmap &bmp)
 
bool set_font (canvas &cvs, const string &raw_font_data, int pixel_size)
 
void set_color (canvas &cvs, brush_type type, color c)
 
string get_font_dir ()
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

Function Documentation

◆ draw_image()

void draw_image ( canvas cvs,
int  x,
int  y,
const Bitmap bmp 
)

◆ get_font_dir()

string get_font_dir ( )

◆ readfile()

string readfile ( string  filename)

◆ set_color()

void set_color ( canvas cvs,
brush_type  type,
color  c 
)

◆ set_font()

bool set_font ( canvas cvs,
const string &  raw_font_data,
int  pixel_size 
)