GlyphDef defines one single glyph (character) in a text image. More...
#include <CCTextImage.h>
Public Member Functions | |
GlyphDef () | |
GlyphDef (unsigned short int letterUTF8, const Rect &rect) | |
GlyphDef ( var letterUTF8, var rect) | |
GlyphDef ( local letterUTF8, local rect) | |
void | setUTF16Letter (unsigned short int letterUTF8) |
void | setRect (const Rect &theRect) |
unsigned short int | getUTF8Letter () |
const Rect & | getRect () const |
void | setPadding (float padding) |
float | getPadding () |
void | setCommonHeight (float commonHeight) |
local | setCommonHeight ( local commonHeight) |
float | getCommonHeight () |
void | setValid (bool isValid) |
bool | isValid () |
GlyphDef defines one single glyph (character) in a text image.
it defines the bounding box for the glyph in the texture page, the character the padding (spacing) between characters
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |