FontRuns
class associates pointers to LEFontInstance
objects with runs of text.
More...
#include <RunArrays.h>
Inheritance diagram for FontRuns::
Public Methods | |
FontRuns (const LEFontInstance **fonts, const le_int32 *limits, le_int32 count) | |
Construct a FontRuns object from pre-existing arrays of fonts and limit indices. More... | |
FontRuns (le_int32 initialCapacity) | |
Construct an empty FontRuns object. More... | |
virtual | ~FontRuns () |
The destructor; virtual so that subclass destructors are invoked as well. More... | |
const LEFontInstance * | getFont (le_int32 run) const |
Get the LEFontInstance object assoicated with the given run of text. More... | |
le_int32 | add (const LEFontInstance *font, le_int32 limit) |
Add an LEFontInstance and limit index pair to the data arrays and return the run index where the data was stored. More... | |
virtual UClassID | getDynamicClassID () const |
ICU "poor man's RTTI", returns a UClassID for the actual class. More... | |
Static Public Methods | |
UClassID | getStaticClassID () |
ICU "poor man's RTTI", returns a UClassID for this class. More... | |
Protected Methods | |
virtual void | init (le_int32 capacity) |
Create a data array with the given initial size. More... | |
virtual void | grow (le_int32 capacity) |
Grow a data array to the given initial size. More... | |
Private Methods | |
FontRuns () | |
FontRuns (const FontRuns &other) | |
FontRuns & | operator= (const FontRuns &) |
Private Attributes | |
const LEFontInstance ** | fFonts |
Static Private Attributes | |
const char | fgClassID |
The address of this static class variable serves as this class's ID for ICU "poor man's RTTI". More... |
FontRuns
class associates pointers to LEFontInstance
objects with runs of text.
Definition at line 249 of file RunArrays.h.
|
Construct a
Definition at line 370 of file RunArrays.h. |
|
Construct an empty
Clients can add font and limit indices arrays using the
|
|
The destructor; virtual so that subclass destructors are invoked as well.
|
|
Definition at line 358 of file RunArrays.h. |
|
Definition at line 364 of file RunArrays.h. |
|
Add an
This method calls
If the
Subclasses should not override this method. Rather they should provide a new
|
|
ICU "poor man's RTTI", returns a UClassID for the actual class.
Reimplemented from RunArray. Definition at line 330 of file RunArrays.h. |
|
Get the
Use
|
|
ICU "poor man's RTTI", returns a UClassID for this class.
Reimplemented from RunArray. Definition at line 337 of file RunArrays.h. |
|
Grow a data array to the given initial size.
This method will be called by the
Reimplemented from RunArray. |
|
Create a data array with the given initial size.
This method will be called by the
Reimplemented from RunArray. |
|
Definition at line 347 of file RunArrays.h. |
|
Definition at line 355 of file RunArrays.h. |
|
The address of this static class variable serves as this class's ID for ICU "poor man's RTTI".
Reimplemented from RunArray. Definition at line 353 of file RunArrays.h. |