VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGlyphRenderer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makVrv
15 {
16  class DtPen;
17  class DtGlyph;
18 
22  {
23  public:
24 
26  {
28  RGB
29  };
30 
32 
34  virtual ~DtGlyphRenderer();
35 
38  virtual void renderGlyph(const DtPen& pen, const DtGlyph& glyph
39  , int group, const float position[4], float rotation, int& vertexIndex, int textureId) = 0;
40  virtual void renderGlyphWithRightToLeft( const DtPen& pen, const DtGlyph& glyph, bool rightToLeft
41  , int group, const float position[4], float rotation, int& vertexIndex, int textureId) = 0;
42  };
43 }
44 
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
A pen object with parameters on how to draw text.
Definition: DtBoundingBox.h:80
BitmapFormat
Definition: DtGlyphRenderer.h:25
Definition: DtGlyphRenderer.h:27

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)