VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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(DtFontSP font, const DtPen& pen,
33  const DtUnicode& string, unsigned int pos = 0, int len = -1);
34 
35  virtual DtBoundingBox calculateBoundingBox(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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)