FontRuns class associates pointers to LEFontInstance objects with runs of text.
More...
#include <RunArrays.h>
Inheritance diagram for FontRuns:

Public Member Functions | |
| FontRuns (const LEFontInstance **fonts, const le_int32 *limits, le_int32 count) | |
Construct a FontRuns object from pre-existing arrays of fonts and limit indices. | |
| FontRuns (le_int32 initialCapacity) | |
Construct an empty FontRuns object. | |
| virtual | ~FontRuns () |
| The destructor; virtual so that subclass destructors are invoked as well. | |
| const LEFontInstance * | getFont (le_int32 run) const |
Get the LEFontInstance object assoicated with the given run of text. | |
| 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. | |
| virtual UClassID | getDynamicClassID () const |
| ICU "poor man's RTTI", returns a UClassID for the actual class. | |
Static Public Member Functions | |
| static UClassID | getStaticClassID () |
| ICU "poor man's RTTI", returns a UClassID for this class. | |
Protected Member Functions | |
| virtual void | init (le_int32 capacity) |
| Create a data array with the given initial size. | |
| virtual void | grow (le_int32 capacity) |
| Grow a data array to the given initial size. | |
FontRuns class associates pointers to LEFontInstance objects with runs of text.
Definition at line 255 of file RunArrays.h.
|
||||||||||||||||
|
Construct a
Definition at line 380 of file RunArrays.h. References FontRuns(). Referenced by FontRuns(). |
|
|
Construct an empty
Clients can add font and limit indices arrays using the
|
|
|
The destructor; virtual so that subclass destructors are invoked as well.
|
|
||||||||||||
|
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 347 of file RunArrays.h. References RunArray::getStaticClassID(). |
|
|
Get the
Use
|
|
|
ICU "poor man's RTTI", returns a UClassID for this class.
Reimplemented from RunArray. Definition at line 340 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. |
1.4.4