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... | |
Include file for SDL test framework.
This code is a part of the SDL2_test library, not the main SDL library.
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. |
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. |