LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
FreetypeFontInfo Class Referencefinal

#include <freetype_glyphcache.hxx>

Collaboration diagram for FreetypeFontInfo:

Public Member Functions

 ~FreetypeFontInfo ()
const unsigned char * GetTable (const char *, sal_uLong *pLength) const
FT_FaceRec_ * GetFaceFT ()
void ReleaseFaceFT ()
const OString & GetFontFileName () const
int GetFontFaceIndex () const
int GetFontFaceVariation () const
sal_IntPtr GetFontId () const
bool IsSymbolFont () const
const FontAttributesGetFontAttributes () const
void AnnounceFont (PhysicalFontCollection *)
const FontCharMapRefGetFontCharMap () const
bool GetFontCapabilities (vcl::FontCapabilities &) const

Private Member Functions

 FreetypeFontInfo (const FontAttributes &, FreetypeFontFile *const pFontFile, int nFaceNum, int nFaceVariation, sal_IntPtr nFontId)

Private Attributes

FT_FaceRec_ * maFaceFT
FreetypeFontFile *const mpFontFile
const int mnFaceNum
const int mnFaceVariation
int mnRefCount
sal_IntPtr mnFontId
FontAttributes maDevFontAttributes
FontCharMapRef mxFontCharMap


class FreetypeManager

Detailed Description

Definition at line 56 of file freetype_glyphcache.hxx.

Constructor & Destructor Documentation

FreetypeFontInfo::~FreetypeFontInfo ( )
FreetypeFontInfo::FreetypeFontInfo ( const FontAttributes ,
FreetypeFontFile *const  pFontFile,
int  nFaceNum,
int  nFaceVariation,
sal_IntPtr  nFontId 

Member Function Documentation

void FreetypeFontInfo::AnnounceFont ( PhysicalFontCollection )
FT_FaceRec_* FreetypeFontInfo::GetFaceFT ( )
const FontAttributes& FreetypeFontInfo::GetFontAttributes ( ) const

Definition at line 71 of file freetype_glyphcache.hxx.

References maDevFontAttributes.

bool FreetypeFontInfo::GetFontCapabilities ( vcl::FontCapabilities ) const
const FontCharMapRef& FreetypeFontInfo::GetFontCharMap ( ) const
int FreetypeFontInfo::GetFontFaceIndex ( ) const

Definition at line 67 of file freetype_glyphcache.hxx.

References mnFaceNum.

int FreetypeFontInfo::GetFontFaceVariation ( ) const

Definition at line 68 of file freetype_glyphcache.hxx.

References mnFaceVariation.

const OString& FreetypeFontInfo::GetFontFileName ( ) const

Definition at line 66 of file freetype_glyphcache.hxx.

References FreetypeFontFile::GetFileName(), and mpFontFile.

sal_IntPtr FreetypeFontInfo::GetFontId ( ) const

Definition at line 69 of file freetype_glyphcache.hxx.

References mnFontId.

Referenced by FreetypeFontFace::GetFontId().

const unsigned char* FreetypeFontInfo::GetTable ( const char *  ,
sal_uLong pLength 
) const
bool FreetypeFontInfo::IsSymbolFont ( ) const

Definition at line 70 of file freetype_glyphcache.hxx.

References FontAttributes::IsSymbolFont(), and maDevFontAttributes.

void FreetypeFontInfo::ReleaseFaceFT ( )

Friends And Related Function Documentation

friend class FreetypeManager

Definition at line 79 of file freetype_glyphcache.hxx.

Member Data Documentation

FontAttributes FreetypeFontInfo::maDevFontAttributes

Definition at line 89 of file freetype_glyphcache.hxx.

Referenced by GetFontAttributes(), and IsSymbolFont().

FT_FaceRec_* FreetypeFontInfo::maFaceFT

Definition at line 83 of file freetype_glyphcache.hxx.

const int FreetypeFontInfo::mnFaceNum

Definition at line 85 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceIndex().

const int FreetypeFontInfo::mnFaceVariation

Definition at line 86 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceVariation().

sal_IntPtr FreetypeFontInfo::mnFontId

Definition at line 88 of file freetype_glyphcache.hxx.

Referenced by GetFontId().

int FreetypeFontInfo::mnRefCount

Definition at line 87 of file freetype_glyphcache.hxx.

FreetypeFontFile* const FreetypeFontInfo::mpFontFile

Definition at line 84 of file freetype_glyphcache.hxx.

Referenced by GetFontFileName().

FontCharMapRef FreetypeFontInfo::mxFontCharMap

Definition at line 91 of file freetype_glyphcache.hxx.

The documentation for this class was generated from the following file: