VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDefaultTextLayout.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
14 #include <vrvUtil/DtUnicode.h>
15 
16 namespace makVrv
17 {
18  class DtFreeTypeFace;
20  {
21  public:
24 
26  virtual ~DtDefaultTextLayout();
27 
29  virtual void renderText(DtTexturedGlyphRenderer*, DtTextProxy*);
30 
32  virtual Dt2dPoint calculateGlyphSize(const DtFontSP& font, const DtPen& pen,
33  const DtUnicode& string, unsigned int pos = 0, int len = -1);
34 
35  virtual DtBoundingBox calculateBoundingBox(const DtFontSP& font, const DtPen& pen,
36  const DtUnicode& string, unsigned int pos = 0, int len = -1);
37 
38  virtual bool isShaped(void) const{ return false; }
39 
40  private:
42 
43  };
44 }
45 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)