![]() |
VR-Forces Developer's Guide
|
Generic base class for text layout renderers.

Public Member Functions | |
| DtTextLayoutInterface () | |
| virtual | ~DtTextLayoutInterface () |
| DtTextLayoutInterface (const DtTextLayoutInterface &other)=delete | |
| DtTextLayoutInterface & | operator= (const DtTextLayoutInterface &other)=delete |
| virtual void | renderText (DtTexturedGlyphRenderer *, const DtTextProxy *text, DtFontInterface *font, const DtBoundingBox &bBox, const DtObserverRenderData &channelRenderData, int proxyIndex, DtQuadsRenderData *renderData)=0 |
| virtual DtBoundingBox | calculateBoundingBox (DtFontInterface *font, const DtUnicode &string, const DtPen &pen=DtPen(), unsigned int pos=0, int len=-1) const =0 |
| virtual bool | isShaped (void) const =0 |
|
inline |
CTOR.
|
inlinevirtual |
DTOR.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
pure virtual |
Renders the text to the given glyph renderer.
Implemented in makVrv::DtTextLayout, and makVrv::DtDefaultTextLayout.
|
pure virtual |
Calculates the bounding box, in screen space, for the passed in string and font. By default, this function calculates the bounding box for the entire passed in string but it can also calculate the bounding box for a substring of the passed in string.
| font | The font to use when calculating the bounds for a string. |
| string | The string to calculate the bounds for. |
| pen | Specifies the spacing and starting position to use when calculating the bounding box. |
| pos | The position, within the passed in string, of the first character for the substring to calculate the bounding box for. |
| len | The number of characters, from pos, to consider in the passed in string. If -1, consider all remaining characters in the string. |
Implemented in makVrv::DtTextLayout, and makVrv::DtDefaultTextLayout.
|
pure virtual |
Implemented in makVrv::DtTextLayout, and makVrv::DtDefaultTextLayout.