VR-Forces 5.0.2 Developer's Guide
 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.

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

Public Member Functions

 DtTextLayoutInterface ()
 
virtual ~DtTextLayoutInterface ()
 
 DtTextLayoutInterface (const DtTextLayoutInterface &other)=delete
 
DtTextLayoutInterfaceoperator= (const DtTextLayoutInterface &other)=delete
 
virtual void renderText (DtTexturedGlyphRenderer *, const DtTextProxy *, DtFontSP, const DtBoundingBox &)=0
 
virtual Dt2dPoint calculateGlyphSize (const DtFontSP &font, const DtPen &pen, const DtUnicode &string, unsigned int pos, int len) const =0
 
virtual DtBoundingBox calculateBoundingBox (const DtFontSP &font, const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1) const =0
 
virtual bool isShaped (void) const =0
 

Constructor & Destructor Documentation

makVrv::DtTextLayoutInterface::DtTextLayoutInterface ( )
inline

CTOR.

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

DTOR.

makVrv::DtTextLayoutInterface::DtTextLayoutInterface ( const DtTextLayoutInterface other)
delete

Copy Constructor not implemented - Copy not allowed.

Member Function Documentation

DtTextLayoutInterface& makVrv::DtTextLayoutInterface::operator= ( const DtTextLayoutInterface other)
delete

Assignment Operator not implemented - Assignment not allowed.

virtual void makVrv::DtTextLayoutInterface::renderText ( DtTexturedGlyphRenderer ,
const DtTextProxy ,
DtFontSP  ,
const DtBoundingBox  
)
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 
) const
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 
) const
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)