sprint 1-alpha
|
methods to use ANGELCODE bitmap font More...
Go to the source code of this file.
Classes | |
struct | sprint::CharDescr |
the font character layout More... | |
struct | sprint::kerning_pair |
kernings pair for font More... | |
struct | sprint::font |
A FONT structure handler. More... | |
Namespaces | |
namespace | sprint |
Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux. | |
Enumerations | |
enum | sprint::TextAlign { TextAlign_Default = 0, TextAlign_Left = 1, TextAlign_Right = 2, TextAlign_HCenter = 3, TextAlign_HMask = 3, TextAlign_Top = 4, TextAlign_Bottom = 8, TextAlign_VCenter = 12, TextAlign_VMask = 12 } |
text alignment macros | |
Functions | |
void | sprint::print (imageview &dst, int x, int y, const char *text, unsigned int color, const font &font, int text_align=TextAlign_Default) |
draw a text on a image |
methods to use ANGELCODE bitmap font