VTK
|
Subclass of vtkFreeTypeTools that uses system installed fonts. More...
#include <vtkFontConfigFreeTypeTools.h>
Public Types | |
typedef vtkFreeTypeTools | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkFontConfigFreeTypeTools * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkFontConfigFreeTypeTools * | SafeDownCast (vtkObjectBase *o) |
static vtkFontConfigFreeTypeTools * | New () |
static bool | LookupFaceFontConfig (vtkTextProperty *tprop, FT_Library lib, FT_Face *face) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkFontConfigFreeTypeTools () | |
~vtkFontConfigFreeTypeTools () | |
FT_Error | CreateFTCManager () |
Subclass of vtkFreeTypeTools that uses system installed fonts.
vtkFontConfigFreeTypeTools defers to vtkFreeTypeTools for rendering and rasterization, but sources fonts from a FontConfig system lookup. If the lookup fails, the compiled fonts of vtkFreeType are used instead.
Definition at line 39 of file vtkFontConfigFreeTypeTools.h.
Reimplemented from vtkFreeTypeTools.
Definition at line 43 of file vtkFontConfigFreeTypeTools.h.
vtkFontConfigFreeTypeTools::vtkFontConfigFreeTypeTools | ( | ) | [protected] |
vtkFontConfigFreeTypeTools::~vtkFontConfigFreeTypeTools | ( | ) | [protected] |
static int vtkFontConfigFreeTypeTools::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkFreeTypeTools.
virtual int vtkFontConfigFreeTypeTools::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkFreeTypeTools.
static vtkFontConfigFreeTypeTools* vtkFontConfigFreeTypeTools::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkFreeTypeTools.
virtual vtkObjectBase* vtkFontConfigFreeTypeTools::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkFreeTypeTools.
Reimplemented from vtkFreeTypeTools.
virtual void vtkFontConfigFreeTypeTools::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkFreeTypeTools.
static vtkFontConfigFreeTypeTools* vtkFontConfigFreeTypeTools::New | ( | ) | [static] |
Creates a new object of this type, but it is not preferred to use this method directly. Instead, call vtkFreeTypeTools::GetInstance() and let the object factory create a new instance. In this way the singleton pattern of vtkFreeTypeTools is preserved.
Reimplemented from vtkObject.
static bool vtkFontConfigFreeTypeTools::LookupFaceFontConfig | ( | vtkTextProperty * | tprop, |
FT_Library | lib, | ||
FT_Face * | face | ||
) | [static] |
Modified version of vtkFreeTypeTools::LookupFace that locates FontConfig faces. Falls back to the Superclass method for compiled fonts if the FontConfig lookup fails.
FT_Error vtkFontConfigFreeTypeTools::CreateFTCManager | ( | ) | [protected, virtual] |
Reimplemented from Superclass to use the FontConfig face lookup callback.
Reimplemented from vtkFreeTypeTools.