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 ( local pageNum, local width, local height) | |
~TextPageDef () | |
void | addLine (TextLineDef *theLine) |
local | addLine ( local theLine) |
int | getNumLines () const |
var | getNumLines () |
local | getNumLines () |
TextLineDef * | getLineAt (int index) const |
int | getWidth () const |
var | getWidth () |
local | getWidth () |
int | getHeight () const |
var | getHeight () |
local | getHeight () |
int | getPageNumber () const |
var | getPageNumber () |
local | getPageNumber () |
void | setPageData (unsigned char *data) |
var | setPageData ( var data) |
local | setPageData ( local data) |
const unsigned char * | getPageData () const |
Texture2D * | getPageTexture () |
var | getPageTexture () |
local | getPageTexture () |
void | preparePageTexture (bool releaseRAWData=true) |
var | preparePageTexture ( var true) |
local | preparePageTexture ( local 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 | ||
) |
local TextPageDef | ( | local | pageNum, |
local | width, | ||
local | height | ||
) |
~TextPageDef | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Texture2D* getPageTexture | ( | ) |
var getPageTexture | ( | ) |
local getPageTexture | ( | ) |
|
inline |
|
inline |
|
inline |
void preparePageTexture | ( | bool | releaseRAWData = true ) |
var preparePageTexture | ( | var | releaseRAWData = true ) |
local preparePageTexture | ( | local | releaseRAWData = true ) |
|
inline |
|
inline |
|
inline |