|
| virtual int | IsA (const char *type) |
| |
| vtkFontConfigFreeTypeTools * | NewInstance () const |
| |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| vtkFreeTypeTools * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| FT_Library * | GetLibrary () |
| |
| 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 bbox[4]) |
| |
| bool | GetBoundingBox (vtkTextProperty *tprop, const vtkUnicodeString &str, int bbox[4]) |
| |
| bool | IsBoundingBoxValid (int bbox[4]) |
| |
| bool | RenderString (vtkTextProperty *tprop, const vtkStdString &str, vtkImageData *data, int textDims[2]=NULL) |
| |
| bool | RenderString (vtkTextProperty *tprop, const vtkUnicodeString &str, vtkImageData *data, int textDims[2]=NULL) |
| |
| bool | StringToPath (vtkTextProperty *tprop, const vtkStdString &str, vtkPath *path) |
| |
| bool | StringToPath (vtkTextProperty *tprop, const vtkUnicodeString &str, vtkPath *path) |
| |
| int | GetConstrainedFontSize (const vtkStdString &str, vtkTextProperty *tprop, int targetWidth, int targetHeight) |
| |
| int | GetConstrainedFontSize (const vtkUnicodeString &str, vtkTextProperty *tprop, int targetWidth, int targetHeight) |
| |
| void | MapTextPropertyToId (vtkTextProperty *tprop, unsigned long *tprop_cache_id) |
| |
| void | MapIdToTextProperty (unsigned long 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 () |
| |
|
| virtual vtkObjectBase * | NewInstanceInternal () const |
| |
| | vtkFontConfigFreeTypeTools () |
| |
| | ~vtkFontConfigFreeTypeTools () |
| |
| FT_Error | CreateFTCManager () |
| |
| void | PrepareImageData (vtkImageData *data, int bbox[4]) |
| |
| void | JustifyPath (vtkPath *path, MetaData &metaData) |
| |
| 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, MetaData &metaData) |
| |
| bool | PrepareImageMetaData (vtkTextProperty *tprop, vtkImageData *image, ImageMetaData &metaData) |
| |
| template<typename StringType > |
| bool | RenderStringInternal (vtkTextProperty *tprop, const StringType &str, vtkImageData *data, int textDims[2]) |
| |
| template<typename StringType > |
| bool | StringToPathInternal (vtkTextProperty *tprop, const StringType &str, vtkPath *path) |
| |
| template<typename T > |
| bool | CalculateBoundingBox (const T &str, MetaData &metaData) |
| |
| template<typename StringType , typename DataType > |
| bool | PopulateData (const StringType &str, DataType data, MetaData &metaData) |
| |
| template<typename IteratorType , typename DataType > |
| bool | RenderLine (IteratorType begin, IteratorType end, int lineIndex, DataType data, MetaData &metaData) |
| |
| template<typename CharType > |
| bool | RenderCharacter (CharType character, int &x, int &y, FT_UInt &previousGlyphIndex, vtkImageData *image, MetaData &metaData) |
| |
| template<typename CharType > |
| bool | RenderCharacter (CharType character, int &x, int &y, FT_UInt &previousGlyphIndex, vtkPath *path, MetaData &metaData) |
| |
| template<typename T > |
| int | FitStringToBBox (const T &str, MetaData &metaData, int targetWidth, int targetHeight) |
| |
| bool | GetFace (vtkTextProperty *prop, unsigned long &prop_cache_id, FT_Face &face, bool &face_has_kerning) |
| |
| FT_Bitmap * | GetBitmap (FT_UInt32 c, unsigned long prop_cache_id, int prop_font_size, FT_UInt &gindex, FT_BitmapGlyph &bitmap_glyph) |
| |
| FT_Outline * | GetOutline (FT_UInt32 c, unsigned long prop_cache_id, int prop_font_size, FT_UInt &gindex, FT_OutlineGlyph &outline_glyph) |
| |
| template<typename T > |
| void | GetLineMetrics (T begin, T end, MetaData &metaData, int &width, int bbox[4]) |
| |
| 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 (unsigned long tprop_cache_id, int font_size, FT_Size *size) |
| |
| bool | GetFace (unsigned long tprop_cache_id, FT_Face *face) |
| |
| bool | GetGlyphIndex (unsigned long tprop_cache_id, FT_UInt32 c, FT_UInt *gindex) |
| |
| bool | GetGlyph (unsigned long tprop_cache_id, int font_size, FT_UInt gindex, FT_Glyph *glyph, int request=GLYPH_REQUEST_DEFAULT) |
| |
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.