|
arsa
2.7
|
Go to the source code of this file.
Macros | |
| #define | FONT_CHARACTER_SIZE 8 |
Functions | |
| int | SDLTest_DrawCharacter (SDL_Renderer *renderer, int x, int y, char c) |
| Draw a string in the currently set font. More... | |
| int | SDLTest_DrawString (SDL_Renderer *renderer, int x, int y, const char *s) |
| Draw a string in the currently set font. More... | |
| void | SDLTest_CleanupTextDrawing (void) |
| Cleanup textures used by font drawing functions. More... | |
Include file for SDL test framework.
This code is a part of the SDL2_test library, not the main SDL library.
Definition in file SDL_test_font.h.
| #define FONT_CHARACTER_SIZE 8 |
Definition at line 41 of file 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. |
1.8.15