![]() |
PROTO::KLUDGE
0.1
Quick prototyping library for games using SDL and OpenGL.
|
Data necessary for representing the Text. More...
#include <Text.hpp>
Public Attributes | |
Font * | d_font |
Pointer to a Font object (memory NOT managed in this class!). More... | |
Texture * | d_texture |
Pointer to a Texture object (memory NOT managed in this class!). More... | |
SDL_Rect | d_boundsRect |
SDL_Rect setting the bounding rectangle for the Text object. More... | |
const char * | d_text |
The character string to render to the texture. More... | |
SDL_Color | d_color |
The color set to the font of the Text string (default is white). More... | |
Uint32 | d_renderMode |
The rendering mode used to render the Text (default is renderMode::blendedWrapped). More... | |
SDL_Point | d_center |
An SDL_Point used to set the center of the Text object. More... | |
SDL_RendererFlip | d_flip |
An SDL_RendererFlip value setting how to flip the Text (default is SDL_FLIP_NONE). More... | |
SDL_Color | d_backgroundColor |
The color of the background (bounding box) of the Text. More... | |
Transform | d_transform |
The raw transform data for the Text object. More... | |
int | d_width |
The width of the Text object. More... | |
int | d_height |
The height of the Text object. More... | |
Data necessary for representing the Text.
SDL_Color pk::textData::d_backgroundColor |
The color of the background (bounding box) of the Text.
SDL_Rect pk::textData::d_boundsRect |
SDL_Rect setting the bounding rectangle for the Text object.
SDL_Point pk::textData::d_center |
An SDL_Point used to set the center of the Text object.
SDL_Color pk::textData::d_color |
The color set to the font of the Text string (default is white).
SDL_RendererFlip pk::textData::d_flip |
An SDL_RendererFlip value setting how to flip the Text (default is SDL_FLIP_NONE).
int pk::textData::d_height |
The height of the Text object.
Uint32 pk::textData::d_renderMode |
The rendering mode used to render the Text (default is renderMode::blendedWrapped).
const char* pk::textData::d_text |
The character string to render to the texture.
int pk::textData::d_width |
The width of the Text object.