14 #include <boost/unordered_map.hpp>
15 #include <tbb/tbb_allocator.h>
27 typedef std::vector<DtOffsetColoredTexturedVertex, tbb::tbb_allocator<DtOffsetColoredTexturedVertex> >
QuadVertexList;
28 typedef boost::unordered_map<unsigned int, QuadVertexList >
TextureLists;
39 void setProjectedStringPosition(
const float pos[4] );
42 void setProjectedStringRotation(
float angle );
45 void setGroup(
unsigned int group );
50 virtual void renderGlyphWithAdvance(
DtPen& pen,
DtGlyph& glyph,
bool advance);
51 virtual void renderGlyphWithRightToLeft(
DtPen& pen,
DtGlyph& glyph,
bool rightToLeft);
65 size_t maxRenderDataSizeInBytes(
void)
const;
66 static size_t dataSizeInBytes(
const QuadVertexList& quads);
71 float myCurrentStringPos[4];
std::vector< DtOffsetColoredTexturedVertex, tbb::tbb_allocator< DtOffsetColoredTexturedVertex > > QuadVertexList
Definition: DtTexturedGlyphRenderer.h:27
TextureLists & perTextureLists()
Get the per texture lists.
Definition: DtTexturedGlyphRenderer.h:60
TextureLists myLists
Definition: DtTexturedGlyphRenderer.h:70
boost::unordered_map< unsigned int, QuadVertexList > TextureLists
Definition: DtTexturedGlyphRenderer.h:28
float myGroup
Definition: DtTexturedGlyphRenderer.h:73
A glyph renderer which renders the texture associated with a glyph.
Definition: DtTexturedGlyphRenderer.h:23
Abstract class for handling glyph rendering.
Definition: DtGlyphRenderer.h:21
A class which represents a glyph instance.
Definition: DtGlyph.h:21
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
float myCurrentStringRotation
Definition: DtTexturedGlyphRenderer.h:72
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
Contains makVrv::DtGlyphRenderer class.
const TextureLists & perTextureLists() const
Get the per texture lists (const).
Definition: DtTexturedGlyphRenderer.h:54
A pen object with parameters on how to draw text.
Definition: DtBoundingBox.h:80
Contains the makVrv::DtTextured2DRenderer class declaration.
QuadVertexList myScratchVertList
Definition: DtTexturedGlyphRenderer.h:75