VTK  9.3.1
vtkFontConfigFreeTypeTools.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
22 #ifndef vtkFontConfigFreeTypeTools_h
23 #define vtkFontConfigFreeTypeTools_h
24 
25 #include "vtkFreeTypeTools.h"
26 #include "vtkRenderingFreeTypeFontConfigModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKRENDERINGFREETYPEFONTCONFIG_EXPORT vtkFontConfigFreeTypeTools : public vtkFreeTypeTools
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
42 
48  static bool LookupFaceFontConfig(vtkTextProperty* tprop, FT_Library lib, FT_Face* face);
49 
50 protected:
52  ~vtkFontConfigFreeTypeTools() override;
53 
57  FT_Error CreateFTCManager() override;
58 
59 private:
61  void operator=(const vtkFontConfigFreeTypeTools&) = delete;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif // vtkFontConfigFreeTypeTools_h
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Subclass of vtkFreeTypeTools that uses system installed fonts.
a simple class to control print indentation
Definition: vtkIndent.h:28
represent text properties.
virtual FT_Error CreateFTCManager()
Create the FreeType Cache manager instance and set this->CacheManager.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
FreeType library support.