|
virtual int | IsA (const char *type) |
|
vtkFontConfigFreeTypeTools * | NewInstance () const |
|
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
|
vtkFreeTypeTools * | NewInstance () const |
|
FT_Library * | GetLibrary () |
|
virtual void | SetDebugTextures (bool) |
|
virtual bool | GetDebugTextures () |
|
virtual void | DebugTexturesOn () |
|
virtual void | DebugTexturesOff () |
|
virtual void | SetMaximumNumberOfFaces (unsigned int) |
|
virtual unsigned int | GetMaximumNumberOfFaces () |
|
virtual void | SetMaximumNumberOfSizes (unsigned int) |
|
virtual unsigned int | GetMaximumNumberOfSizes () |
|
virtual void | SetMaximumNumberOfBytes (unsigned long) |
|
virtual unsigned long | GetMaximumNumberOfBytes () |
|
bool | GetBoundingBox (vtkTextProperty *tprop, const vtkStdString &str, int dpi, int bbox[4]) |
|
bool | GetBoundingBox (vtkTextProperty *tprop, const vtkUnicodeString &str, int dpi, int bbox[4]) |
|
bool | GetMetrics (vtkTextProperty *tprop, const vtkStdString &str, int dpi, vtkTextRenderer::Metrics &metrics) |
|
bool | GetMetrics (vtkTextProperty *tprop, const vtkUnicodeString &str, int dpi, vtkTextRenderer::Metrics &metrics) |
|
bool | RenderString (vtkTextProperty *tprop, const vtkStdString &str, int dpi, vtkImageData *data, int textDims[2]=NULL) |
|
bool | RenderString (vtkTextProperty *tprop, const vtkUnicodeString &str, int dpi, vtkImageData *data, int textDims[2]=NULL) |
|
bool | StringToPath (vtkTextProperty *tprop, const vtkStdString &str, int dpi, vtkPath *path) |
|
bool | StringToPath (vtkTextProperty *tprop, const vtkUnicodeString &str, int dpi, vtkPath *path) |
|
int | GetConstrainedFontSize (const vtkStdString &str, vtkTextProperty *tprop, int dpi, int targetWidth, int targetHeight) |
|
int | GetConstrainedFontSize (const vtkUnicodeString &str, vtkTextProperty *tprop, int dpi, int targetWidth, int targetHeight) |
|
void | MapTextPropertyToId (vtkTextProperty *tprop, size_t *tprop_cache_id) |
|
void | MapIdToTextProperty (size_t tprop_cache_id, vtkTextProperty *tprop) |
|
virtual void | SetScaleToPowerTwo (bool) |
|
virtual bool | GetScaleToPowerTwo () |
|
virtual void | ScaleToPowerTwoOn () |
|
virtual void | ScaleToPowerTwoOff () |
|
virtual void | SetForceCompiledFonts (bool) |
|
virtual bool | GetForceCompiledFonts () |
|
virtual void | ForceCompiledFontsOn () |
|
virtual void | ForceCompiledFontsOff () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkFontConfigFreeTypeTools () |
|
| ~vtkFontConfigFreeTypeTools () |
|
FT_Error | CreateFTCManager () |
|
void | PrepareImageData (vtkImageData *data, int bbox[4]) |
|
bool | GetSize (vtkTextProperty *tprop, FT_Size *size) |
|
bool | GetFace (vtkTextProperty *tprop, FT_Face *face) |
|
bool | GetGlyphIndex (vtkTextProperty *tprop, FT_UInt32 c, FT_UInt *gindex) |
|
| vtkFreeTypeTools () |
|
virtual | ~vtkFreeTypeTools () |
|
void | InitializeCacheManager () |
|
void | ReleaseCacheManager () |
|
bool | PrepareMetaData (vtkTextProperty *tprop, int dpi, MetaData &metaData) |
|
bool | PrepareImageMetaData (vtkTextProperty *tprop, vtkImageData *image, ImageMetaData &metaData) |
|
void | RenderBackground (vtkTextProperty *tprop, vtkImageData *image, ImageMetaData &metaData) |
|
bool | GetFace (vtkTextProperty *prop, size_t &prop_cache_id, FT_Face &face, bool &face_has_kerning) |
|
FT_Bitmap * | GetBitmap (FT_UInt32 c, size_t prop_cache_id, int prop_font_size, FT_UInt &gindex, FT_BitmapGlyph &bitmap_glyph) |
|
FT_Bitmap * | GetBitmap (FT_UInt32 c, FTC_Scaler scaler, FT_UInt &gindex, FT_BitmapGlyph &bitmap_glyph) |
|
FT_Outline * | GetOutline (FT_UInt32 c, size_t prop_cache_id, int prop_font_size, FT_UInt &gindex, FT_OutlineGlyph &outline_glyph) |
|
FT_Outline * | GetOutline (FT_UInt32 c, FTC_Scaler scaler, FT_UInt &gindex, FT_OutlineGlyph &outline_glyph) |
|
FTC_Manager * | GetCacheManager () |
|
FTC_ImageCache * | GetImageCache () |
|
FTC_CMapCache * | GetCMapCache () |
|
bool | GetGlyph (vtkTextProperty *tprop, FT_UInt32 c, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT) |
|
bool | GetSize (size_t tprop_cache_id, int font_size, FT_Size *size) |
|
bool | GetSize (FTC_Scaler scaler, FT_Size *size) |
|
bool | GetFace (size_t tprop_cache_id, FT_Face *face) |
|
bool | GetGlyphIndex (size_t tprop_cache_id, FT_UInt32 c, FT_UInt *gindex) |
|
bool | GetGlyph (size_t tprop_cache_id, int font_size, FT_UInt gindex, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT) |
|
bool | GetGlyph (FTC_Scaler scaler, FT_UInt gindex, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT) |
|
| vtkObject () |
|
virtual | ~vtkObject () |
|
virtual void | RegisterInternal (vtkObjectBase *, int check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
|
void | InternalReleaseFocus () |
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | CollectRevisions (ostream &) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
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.
- Warning
- Do not instantiate this class directly. Rather, call vtkFreeTypeTools::GetInstance() to ensure that the singleton design is correctly applied. Be aware that FontConfig lookup is disabled by default. To enable, call vtkFreeTypeTools::GetInstance()->ForceCompiledFontsOff();
Definition at line 39 of file vtkFontConfigFreeTypeTools.h.