|
Niotso
git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
|
Enumerations | |
| enum | TextAlignment { ALIGN_LEFT_TOP, ALIGN_LEFT_CENTER, ALIGN_CENTER_TOP, ALIGN_CENTER_CENTER, ALIGN_RIGHT_TOP, ALIGN_RIGHT_CENTER } |
Functions | |
| static void | FindStringSize (const wchar_t *String, unsigned *width, unsigned *height, int *xoffset, int *yoffset, int font) |
| void | DrawText (Image_t *Image, const wchar_t *String, int x, int y, unsigned width, unsigned height, TextAlignment Alignment, int font, COLORREF Color) |
| Image_t * | StringImage (const wchar_t *String, int font, COLORREF Color) |
| int | Initialize () |
| void | Shutdown () |
| int | InitGL () |
| void | ResizeViewport (unsigned width, unsigned height) |
Variables | |
| FT_Library | FreeTypeLibrary |
| FT_Face | FontFace |
| HDC | hDC |
| HGLRC | hRC |
| void Graphics::DrawText | ( | Image_t * | Image, |
| const wchar_t * | String, | ||
| int | x, | ||
| int | y, | ||
| unsigned | width, | ||
| unsigned | height, | ||
| TextAlignment | Alignment, | ||
| int | font, | ||
| COLORREF | Color | ||
| ) |
|
static |
| int Graphics::InitGL | ( | ) |
| int Graphics::Initialize | ( | ) |
| void Graphics::ResizeViewport | ( | unsigned | width, |
| unsigned | height | ||
| ) |
| void Graphics::Shutdown | ( | ) |
| Image_t * Graphics::StringImage | ( | const wchar_t * | String, |
| int | font, | ||
| COLORREF | Color | ||
| ) |
| FT_Face Graphics::FontFace |
| FT_Library Graphics::FreeTypeLibrary |
| HDC Graphics::hDC |
| HGLRC Graphics::hRC |
1.8.4