#include <sspt_bitmapblock.h>
Public Types | |
enum | HorizonalMode { FRONT = 0x01, HORIZONTAL_CENTER = 0x02, END = 0x04 } |
enum | VerticalMode { TOP = 0x08, VERTICAL_CENTER = 0x10, BOTTOM = 0x20 } |
Public Member Functions | |
sspt_BitmapBlock (const char *text, sspt_GlyphStore *glyphstore, bool vertical=false) | |
~sspt_BitmapBlock () | |
void | draw (float color[3], float x, float y, int positionFlags) |
void | dimensions (int *width, int *height) |
sspt_BitmapBlock::sspt_BitmapBlock | ( | const char * | text, | |
sspt_GlyphStore * | glyphstore, | |||
bool | vertical = false | |||
) |
sspt_BitmapBlock::~sspt_BitmapBlock | ( | ) |
void sspt_BitmapBlock::dimensions | ( | int * | width, | |
int * | height | |||
) |
void sspt_BitmapBlock::draw | ( | float | color[3], | |
float | x, | |||
float | y, | |||
int | positionFlags | |||
) |