World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
int | SDLTest_DrawCharacter (SDL_Renderer *renderer, int x, int y, char c) |
Draw a string in the currently set font. Подробнее... | |
int | SDLTest_DrawString (SDL_Renderer *renderer, int x, int y, const char *s) |
Draw a string in the currently set font. Подробнее... | |
void | SDLTest_CleanupTextDrawing (void) |
Cleanup textures used by font drawing functions. Подробнее... | |
Include file for SDL test framework.
This code is a part of the SDL2_test library, not the main SDL library.
См. определение в файле SDL_test_font.h
int SDLTest_DrawCharacter | ( | SDL_Renderer * | renderer, |
int | x, | ||
int | y, | ||
char | c | ||
) |
Draw a string in the currently set font.
renderer | The renderer to draw on. |
x | The X coordinate of the upper left corner of the character. |
y | The Y coordinate of the upper left corner of the character. |
c | The character to draw. |
int SDLTest_DrawString | ( | SDL_Renderer * | renderer, |
int | x, | ||
int | y, | ||
const char * | s | ||
) |
Draw a string in the currently set font.
renderer | The renderer to draw on. |
x | The X coordinate of the upper left corner of the string. |
y | The Y coordinate of the upper left corner of the string. |
s | The string to draw. |