|
| | DtDefaultTextLayout () |
| |
| virtual | ~DtDefaultTextLayout () |
| |
| | DtDefaultTextLayout (const DtDefaultTextLayout &other)=delete |
| |
| DtDefaultTextLayout & | operator= (const DtDefaultTextLayout &other)=delete |
| |
| virtual void | renderText (DtTexturedGlyphRenderer *, const DtTextProxy *, DtFontInterface *font, const DtBoundingBox &bBox, const DtObserverRenderData &channelRenderData, int proxyIndex, DtQuadsRenderData *renderData) |
| |
| virtual DtBoundingBox | calculateBoundingBox (DtFontInterface *font, const DtUnicode &string, const DtPen &pen=DtPen(), unsigned int pos=0, int len=-1) const |
| |
| virtual bool | isShaped (void) const |
| |
| | DtTextLayoutInterface () |
| |
| virtual | ~DtTextLayoutInterface () |
| |
| | DtTextLayoutInterface (const DtTextLayoutInterface &other)=delete |
| |
| DtTextLayoutInterface & | operator= (const DtTextLayoutInterface &other)=delete |
| |
|
| virtual void | renderString (DtGlyphRenderer &renderer, DtPen &pen, const DtTextProxy *textProxy, DtFontInterface *font, unsigned int pos, int len, int &vertexIndex, const std::unordered_map< unsigned int, int > &mapTextureIdToTextureIndex, double observerTopographicHeading) |
| |
| virtual void | renderString (DtGlyphRenderer &renderer, DtPen &pen, const DtTextProxy *textProxy, DtFontInterface *font, unsigned int pos, int len, float lineLength, int &vertexIndex, const std::unordered_map< unsigned int, int > &mapTextureIdToTextureIndex, double observerTopographicHeading) |
| |
| virtual void | renderStringAndWhiteSpace (DtGlyphRenderer &renderer, const DtPen &pen, const DtTextProxy *textProxy, DtFontInterface *font, unsigned int pos, int len, const float extraSpace, int &vertexIndex, const std::unordered_map< unsigned int, int > &mapTextureIdToTextureIndex, double observerTopographicHeading) |
| |
| virtual void | renderWrappedText (DtGlyphRenderer &renderer, const DtPen &pen, DtFont::TextAlignment alignment, const DtTextProxy *textProxy, DtFontInterface *font, unsigned int pos, int len, const float lineLength, const float wordWidth, int &vertexIndex, const std::unordered_map< unsigned int, int > &mapTextureIdToTextureIndex, double observerTopographicHeading) |
| |
| makVrv::DtDefaultTextLayout::DtDefaultTextLayout |
( |
| ) |
|
| virtual makVrv::DtDefaultTextLayout::~DtDefaultTextLayout |
( |
| ) |
|
|
virtual |
Copy Constructor not implemented - Copy not allowed.
Assignment Operator not implemented - Assignment not allowed.
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.
- Parameters
-
| 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. |
Implements makVrv::DtTextLayoutInterface.
| virtual bool makVrv::DtDefaultTextLayout::isShaped |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual void makVrv::DtDefaultTextLayout::renderString |
( |
DtGlyphRenderer & |
renderer, |
|
|
DtPen & |
pen, |
|
|
const DtTextProxy * |
textProxy, |
|
|
DtFontInterface * |
font, |
|
|
unsigned int |
pos, |
|
|
int |
len, |
|
|
float |
lineLength, |
|
|
int & |
vertexIndex, |
|
|
const std::unordered_map< unsigned int, int > & |
mapTextureIdToTextureIndex, |
|
|
double |
observerTopographicHeading |
|
) |
| |
|
protectedvirtual |
| virtual void makVrv::DtDefaultTextLayout::renderStringAndWhiteSpace |
( |
DtGlyphRenderer & |
renderer, |
|
|
const DtPen & |
pen, |
|
|
const DtTextProxy * |
textProxy, |
|
|
DtFontInterface * |
font, |
|
|
unsigned int |
pos, |
|
|
int |
len, |
|
|
const float |
extraSpace, |
|
|
int & |
vertexIndex, |
|
|
const std::unordered_map< unsigned int, int > & |
mapTextureIdToTextureIndex, |
|
|
double |
observerTopographicHeading |
|
) |
| |
|
protectedvirtual |
| virtual void makVrv::DtDefaultTextLayout::renderWrappedText |
( |
DtGlyphRenderer & |
renderer, |
|
|
const DtPen & |
pen, |
|
|
DtFont::TextAlignment |
alignment, |
|
|
const DtTextProxy * |
textProxy, |
|
|
DtFontInterface * |
font, |
|
|
unsigned int |
pos, |
|
|
int |
len, |
|
|
const float |
lineLength, |
|
|
const float |
wordWidth, |
|
|
int & |
vertexIndex, |
|
|
const std::unordered_map< unsigned int, int > & |
mapTextureIdToTextureIndex, |
|
|
double |
observerTopographicHeading |
|
) |
| |
|
protectedvirtual |
The documentation for this class was generated from the following file: