VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtTextLayoutInterface Class Referenceabstract

Generic base class for text layout renderers. More...

Inheritance diagram for makVrv::DtTextLayoutInterface:
Inheritance graph
[legend]

Public Member Functions

 DtTextLayoutInterface ()
 CTOR. More...
 
virtual ~DtTextLayoutInterface ()
 DTOR. More...
 
virtual void renderText (DtTexturedGlyphRenderer *, DtTextProxy *)=0
 Renders the text to the given glyph renderer. More...
 
virtual Dt2dPoint calculateGlyphSize (const DtFontSP &font, const DtPen &pen, const DtUnicode &string, unsigned int pos, int len)=0
 Calculate the size of the displayed string. More...
 
virtual DtBoundingBox calculateBoundingBox (const DtFontSP &font, const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)=0
 Calculate the bounding box for a string. More...
 
virtual bool isShaped (void) const =0
 

Detailed Description

Generic base class for text layout renderers.

Constructor & Destructor Documentation

makVrv::DtTextLayoutInterface::DtTextLayoutInterface ( )
inline

CTOR.

virtual makVrv::DtTextLayoutInterface::~DtTextLayoutInterface ( )
inlinevirtual

DTOR.

Member Function Documentation

virtual void makVrv::DtTextLayoutInterface::renderText ( DtTexturedGlyphRenderer ,
DtTextProxy  
)
pure virtual

Renders the text to the given glyph renderer.

Implemented in makVrv::DtTextLayout, and makVrv::DtDefaultTextLayout.

virtual Dt2dPoint makVrv::DtTextLayoutInterface::calculateGlyphSize ( const DtFontSP font,
const DtPen pen,
const DtUnicode string,
unsigned int  pos,
int  len 
)
pure virtual

Calculate the size of the displayed string.

Implemented in makVrv::DtTextLayout, and makVrv::DtDefaultTextLayout.

virtual DtBoundingBox makVrv::DtTextLayoutInterface::calculateBoundingBox ( const DtFontSP font,
const DtPen pen,
const DtUnicode string,
unsigned int  pos = 0,
int  len = -1 
)
pure virtual

Calculate the bounding box for a string.

Implemented in makVrv::DtTextLayout, and makVrv::DtDefaultTextLayout.

virtual bool makVrv::DtTextLayoutInterface::isShaped ( void  ) const
pure virtual

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)