TextPageDef defines one text image page (a TextImage can have/use more than one page) More...
#include <CCTextImage.h>
Public Member Functions | |
| TextPageDef (int pageNum, int width, int height) | |
| ~TextPageDef () | |
| void | addLine (TextLineDef *theLine) |
| int | getNumLines () const |
| TextLineDef * | getLineAt (int index) const |
| int | getWidth () const |
| int | getHeight () const |
| int | getPageNumber () const |
| void | setPageData (unsigned char *data) |
| const unsigned char * | getPageData () const |
| Texture2D * | getPageTexture () |
| void | preparePageTexture (bool releaseRAWData=true) |
TextPageDef defines one text image page (a TextImage can have/use more than one page)
collects all the TextLineDef for one page, the witdh and height of the page and the graphics (texture) for the page
| TextPageDef | ( | int | pageNum, |
| int | width, | ||
| int | height | ||
| ) |
| ~TextPageDef | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Texture2D* getPageTexture | ( | ) |
|
inline |
| void preparePageTexture | ( | bool | releaseRAWData = true) |
|
inline |