mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Expose DynamicTextGlyph::get_page
This commit is contained in:
parent
3b60afb12b
commit
0e16497401
@ -74,6 +74,17 @@ operator = (const DynamicTextGlyph &) {
|
||||
nassertv(false);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: DynamicTextGlyph::get_page
|
||||
// Access: Published
|
||||
// Description: Returns the DynamicTextPage that this glyph is on.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE DynamicTextPage *DynamicTextGlyph::
|
||||
get_page() const {
|
||||
return _page;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: DynamicTextGlyph::intersects
|
||||
// Access: Published
|
||||
|
@ -44,6 +44,8 @@ private:
|
||||
PUBLISHED:
|
||||
virtual ~DynamicTextGlyph();
|
||||
|
||||
INLINE DynamicTextPage *get_page() const;
|
||||
|
||||
INLINE bool intersects(int x, int y, int x_size, int y_size) const;
|
||||
|
||||
INLINE PN_stdfloat get_top() const;
|
||||
|
@ -40,14 +40,15 @@ public:
|
||||
DynamicTextGlyph *slot_glyph(int character,
|
||||
int x_size, int y_size, int margin);
|
||||
|
||||
PUBLISHED:
|
||||
INLINE int get_x_size() const;
|
||||
INLINE int get_y_size() const;
|
||||
|
||||
void fill_region(int x, int y, int x_size, int y_size, const LColor &color);
|
||||
|
||||
PUBLISHED:
|
||||
INLINE bool is_empty() const;
|
||||
|
||||
public:
|
||||
void fill_region(int x, int y, int x_size, int y_size, const LColor &color);
|
||||
|
||||
private:
|
||||
int garbage_collect(DynamicTextFont *font);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user