DynamicTextPage

class DynamicTextPage

Bases: Texture

A single “page” of a DynamicTextFont. This is a single texture that holds a number of glyphs for rendering. The font starts out with one page, and will add more as it needs them.

Inheritance diagram

Inheritance diagram of DynamicTextPage

DynamicTextPage(DynamicTextPage const&) = default
static TypeHandle get_class_type(void)
LVecBase2i const &get_size(void) const

Returns the size of the page (texture), in pixels.

int get_x_size(void) const

Returns the x size of the page (texture), in pixels.

int get_y_size(void) const

Returns the y size of the page (texture), in pixels.

bool is_empty(void) const

Returns true if the page has no glyphs, false otherwise.