15 #include <tbb/tbb_allocator.h>
17 #include <unordered_map>
29 typedef std::vector<DtOffsetColoredTexturedVertex, tbb::tbb_allocator<DtOffsetColoredTexturedVertex> >
QuadVertexList;
30 typedef std::unordered_map<unsigned int, QuadVertexList >
TextureLists;
41 void setProjectedStringPosition(
const float pos[4] );
44 void setProjectedStringRotation(
float angle );
47 void setGroup(
unsigned int group );
52 virtual void renderGlyphWithAdvance(
DtPen& pen,
DtGlyph& glyph,
bool advance);
53 virtual void renderGlyphWithRightToLeft(
DtPen& pen,
DtGlyph& glyph,
bool rightToLeft);
69 const size_t maxRenderDataSizeInBytes()
const;
72 static const size_t dataSizeInBytesForQuadCount(
const size_t count);
77 float myCurrentStringPos[4];
std::vector< DtOffsetColoredTexturedVertex, tbb::tbb_allocator< DtOffsetColoredTexturedVertex > > QuadVertexList
Definition: DtTexturedGlyphRenderer.h:29
TextureLists & perTextureLists()
Get the per texture lists.
Definition: DtTexturedGlyphRenderer.h:62
TextureLists myLists
Definition: DtTexturedGlyphRenderer.h:76
float myGroup
Definition: DtTexturedGlyphRenderer.h:79
A glyph renderer which renders the texture associated with a glyph.
Definition: DtTexturedGlyphRenderer.h:25
Abstract class for handling glyph rendering.
Definition: DtGlyphRenderer.h:21
A class which represents a glyph instance. A font is made up of glyphs.
Definition: DtGlyph.h:21
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
float myCurrentStringRotation
Definition: DtTexturedGlyphRenderer.h:78
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:56
A pen object with parameters on how to draw text.
Definition: DtBoundingBox.h:80
std::unordered_map< unsigned int, QuadVertexList > TextureLists
Definition: DtTexturedGlyphRenderer.h:30
Contains the makVrv::DtTextured2DRenderer class declaration.
QuadVertexList myScratchVertList
Definition: DtTexturedGlyphRenderer.h:81