WHY_CPP
0.1
|
Functions to pri32 texts on the screen. More...
Classes | |
struct | Glyph |
class | Font |
Functions | |
void | Print (Context &ctx, char ch, i32 x, i32 y, const RGBA &color, i32 size=1) |
void | Print (Context &ctx, const std::string &str, i32 x, i32 y, const RGBA &color, i32 size=1, i32 spacing=0) |
Functions to pri32 texts on the screen.
Prints a single char at a position with color
ctx | |
ch | is a symbol to print |
x | |
y | |
color | |
size | |
font |
Definition at line 7 of file text.cpp.
References SetPixel().
Referenced by Print().