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

#include <freetype_glyphcache.hxx>

Collaboration diagram for FreetypeFontInfo:
[legend]

Public Member Functions

 FreetypeFontInfo (const FontAttributes &, const OString &rNativeFileName, int nFaceNum, int nFaceVariation, sal_IntPtr nFontId)
 
 ~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 ()
 

Private Attributes

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

Detailed Description

Definition at line 57 of file freetype_glyphcache.hxx.

Constructor & Destructor Documentation

FreetypeFontInfo::FreetypeFontInfo ( const FontAttributes ,
const OString &  rNativeFileName,
int  nFaceNum,
int  nFaceVariation,
sal_IntPtr  nFontId 
)
FreetypeFontInfo::~FreetypeFontInfo ( )

Member Function Documentation

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

Definition at line 74 of file freetype_glyphcache.hxx.

References maDevFontAttributes.

const FontCharMapRef& FreetypeFontInfo::GetFontCharMap ( )
int FreetypeFontInfo::GetFontFaceIndex ( ) const
inline

Definition at line 70 of file freetype_glyphcache.hxx.

References mnFaceNum.

int FreetypeFontInfo::GetFontFaceVariation ( ) const
inline

Definition at line 71 of file freetype_glyphcache.hxx.

References mnFaceVariation.

const OString& FreetypeFontInfo::GetFontFileName ( ) const
inline

Definition at line 69 of file freetype_glyphcache.hxx.

References FreetypeFontFile::GetFileName(), and mpFontFile.

sal_IntPtr FreetypeFontInfo::GetFontId ( ) const
inline

Definition at line 72 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
inline

Definition at line 73 of file freetype_glyphcache.hxx.

References FontAttributes::IsSymbolFont(), and maDevFontAttributes.

void FreetypeFontInfo::ReleaseFaceFT ( )

Member Data Documentation

FontAttributes FreetypeFontInfo::maDevFontAttributes
private

Definition at line 87 of file freetype_glyphcache.hxx.

Referenced by GetFontAttributes(), and IsSymbolFont().

FT_FaceRec_* FreetypeFontInfo::maFaceFT
private

Definition at line 81 of file freetype_glyphcache.hxx.

const int FreetypeFontInfo::mnFaceNum
private

Definition at line 83 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceIndex().

const int FreetypeFontInfo::mnFaceVariation
private

Definition at line 84 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceVariation().

sal_IntPtr const FreetypeFontInfo::mnFontId
private

Definition at line 86 of file freetype_glyphcache.hxx.

Referenced by GetFontId().

int FreetypeFontInfo::mnRefCount
private

Definition at line 85 of file freetype_glyphcache.hxx.

FreetypeFontFile* const FreetypeFontInfo::mpFontFile
private

Definition at line 82 of file freetype_glyphcache.hxx.

Referenced by GetFontFileName().

FontCharMapRef FreetypeFontInfo::mxFontCharMap
private

Definition at line 89 of file freetype_glyphcache.hxx.


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