VTK
vtkFontConfigFreeTypeTools.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFontConfigFreeTypeTools.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
33 #ifndef vtkFontConfigFreeTypeTools_h
34 #define vtkFontConfigFreeTypeTools_h
35 
36 #include "vtkRenderingFreeTypeFontConfigModule.h" // For export macro
37 #include "vtkFreeTypeTools.h"
38 
39 class VTKRENDERINGFREETYPEFONTCONFIG_EXPORT vtkFontConfigFreeTypeTools:
40  public vtkFreeTypeTools
41 {
42 public:
44  virtual void PrintSelf(ostream &os, vtkIndent indent);
45 
51 
53 
56  static bool LookupFaceFontConfig(vtkTextProperty *tprop, FT_Library lib,
57  FT_Face *face);
59 
60 protected:
63 
66  FT_Error CreateFTCManager();
67 
68 private:
69  vtkFontConfigFreeTypeTools(const vtkFontConfigFreeTypeTools &); // Not implemented.
70  void operator=(const vtkFontConfigFreeTypeTools &); // Not implemented.
71 };
72 
73 #endif //vtkFontConfigFreeTypeTools_h
Subclass of vtkFreeTypeTools that uses system installed fonts.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
represent text properties.
virtual FT_Error CreateFTCManager()
static vtkObject * New()
FreeType library support.