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

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

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

Public Member Functions

 DtTextLayoutInterface ()
 CTOR.
virtual ~DtTextLayoutInterface ()
 DTOR.
virtual void renderText (DtTexturedGlyphRenderer *, DtTextProxy *)=0
 Renders the text to the given glyph renderer.
virtual Dt2dPoint calculateGlyphSize (DtFontSP font, const DtPen &pen, const DtUnicode &string, unsigned int pos, int len)=0
 Calculate the size of the displayed string.
virtual DtBoundingBox calculateBoundingBox (DtFontSP font, const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)=0
 Calculate the bounding box for a string.
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 ( 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 ( 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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)