VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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 "
vtkFreeTypeTools.h
"
38
#include "vtkRenderingFreeTypeFontConfigModule.h"
// For export macro
39
40
class
VTKRENDERINGFREETYPEFONTCONFIG_EXPORT
vtkFontConfigFreeTypeTools
:
public
vtkFreeTypeTools
41
{
42
public
:
43
vtkTypeMacro(
vtkFontConfigFreeTypeTools
,
vtkFreeTypeTools
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
52
static
vtkFontConfigFreeTypeTools
*
New
();
53
59
static
bool
LookupFaceFontConfig
(
vtkTextProperty
* tprop, FT_Library lib, FT_Face* face);
60
61
protected
:
62
vtkFontConfigFreeTypeTools
();
63
~vtkFontConfigFreeTypeTools
()
override
;
64
68
FT_Error
CreateFTCManager
()
override
;
69
70
private
:
71
vtkFontConfigFreeTypeTools
(
const
vtkFontConfigFreeTypeTools
&) =
delete
;
72
void
operator=(
const
vtkFontConfigFreeTypeTools
&) =
delete
;
73
};
74
75
#endif
// vtkFontConfigFreeTypeTools_h
vtkFontConfigFreeTypeTools
Subclass of vtkFreeTypeTools that uses system installed fonts.
Definition:
vtkFontConfigFreeTypeTools.h:41
vtkFontConfigFreeTypeTools::CreateFTCManager
FT_Error CreateFTCManager() override
Reimplemented from Superclass to use the FontConfig face lookup callback.
vtkFontConfigFreeTypeTools::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkFontConfigFreeTypeTools::vtkFontConfigFreeTypeTools
vtkFontConfigFreeTypeTools()
vtkFontConfigFreeTypeTools::~vtkFontConfigFreeTypeTools
~vtkFontConfigFreeTypeTools() override
vtkFontConfigFreeTypeTools::LookupFaceFontConfig
static bool LookupFaceFontConfig(vtkTextProperty *tprop, FT_Library lib, FT_Face *face)
Modified version of vtkFreeTypeTools::LookupFace that locates FontConfig faces.
vtkFontConfigFreeTypeTools::New
static vtkFontConfigFreeTypeTools * New()
Creates a new object of this type, but it is not preferred to use this method directly.
vtkFreeTypeTools
FreeType library support.
Definition:
vtkFreeTypeTools.h:108
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:143
vtkFreeTypeTools.h
Generated on Fri Apr 21 2023 10:29:03 for VTK by
1.9.6