VTK
dox
Rendering
FreeTypeFontConfig
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
34
#ifndef vtkFontConfigFreeTypeTools_h
35
#define vtkFontConfigFreeTypeTools_h
36
37
#include "vtkRenderingFreeTypeFontConfigModule.h"
// For export macro
38
#include "
vtkFreeTypeTools.h
"
39
40
class
VTKRENDERINGFREETYPEFONTCONFIG_EXPORT
vtkFontConfigFreeTypeTools
:
41
public
vtkFreeTypeTools
42
{
43
public
:
44
vtkTypeMacro(
vtkFontConfigFreeTypeTools
,
vtkFreeTypeTools
);
45
void
PrintSelf
(ostream &os,
vtkIndent
indent)
override
;
46
53
static
vtkFontConfigFreeTypeTools
*
New
();
54
60
static
bool
LookupFaceFontConfig(
vtkTextProperty
*tprop, FT_Library lib,
61
FT_Face *face);
62
63
protected
:
64
vtkFontConfigFreeTypeTools
();
65
~
vtkFontConfigFreeTypeTools
();
66
70
FT_Error
CreateFTCManager
()
override
;
71
72
private
:
73
vtkFontConfigFreeTypeTools
(
const
vtkFontConfigFreeTypeTools
&) =
delete
;
74
void
operator=(
const
vtkFontConfigFreeTypeTools
&) =
delete
;
75
};
76
77
#endif //vtkFontConfigFreeTypeTools_h
vtkFreeTypeTools::CreateFTCManager
virtual FT_Error CreateFTCManager()
Create the FreeType Cache manager instance and set this->CacheManager.
vtkFreeTypeTools::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:39
vtkFreeTypeTools.h
vtkFontConfigFreeTypeTools
Subclass of vtkFreeTypeTools that uses system installed fonts.
Definition:
vtkFontConfigFreeTypeTools.h:40
vtkFreeTypeTools
FreeType library support.
Definition:
vtkFreeTypeTools.h:70
Generated by
1.8.16