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:
[legend]

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 (vcl::font::PhysicalFontCollection *)
 
const FontCharMapRefGetFontCharMap () const
 
bool GetFontCapabilities (vcl::FontCapabilities &) const
 

Private Member Functions

 FreetypeFontInfo (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
 

Friends

class FreetypeManager
 

Detailed Description

Definition at line 58 of file freetype_glyphcache.hxx.

Constructor & Destructor Documentation

◆ ~FreetypeFontInfo()

FreetypeFontInfo::~FreetypeFontInfo ( )

◆ FreetypeFontInfo()

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

Member Function Documentation

◆ AnnounceFont()

void FreetypeFontInfo::AnnounceFont ( vcl::font::PhysicalFontCollection )

◆ GetFaceFT()

FT_FaceRec_ * FreetypeFontInfo::GetFaceFT ( )

◆ GetFontAttributes()

const FontAttributes & FreetypeFontInfo::GetFontAttributes ( ) const
inline

Definition at line 73 of file freetype_glyphcache.hxx.

References maDevFontAttributes.

◆ GetFontCapabilities()

bool FreetypeFontInfo::GetFontCapabilities ( vcl::FontCapabilities ) const

◆ GetFontCharMap()

const FontCharMapRef & FreetypeFontInfo::GetFontCharMap ( ) const

◆ GetFontFaceIndex()

int FreetypeFontInfo::GetFontFaceIndex ( ) const
inline

Definition at line 69 of file freetype_glyphcache.hxx.

References mnFaceNum.

◆ GetFontFaceVariation()

int FreetypeFontInfo::GetFontFaceVariation ( ) const
inline

Definition at line 70 of file freetype_glyphcache.hxx.

References mnFaceVariation.

◆ GetFontFileName()

const OString & FreetypeFontInfo::GetFontFileName ( ) const
inline

Definition at line 68 of file freetype_glyphcache.hxx.

References FreetypeFontFile::GetFileName(), and mpFontFile.

◆ GetFontId()

sal_IntPtr FreetypeFontInfo::GetFontId ( ) const
inline

Definition at line 71 of file freetype_glyphcache.hxx.

References mnFontId.

Referenced by FreetypeFontFace::GetFontId().

◆ GetTable()

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

◆ IsSymbolFont()

bool FreetypeFontInfo::IsSymbolFont ( ) const
inline

Definition at line 72 of file freetype_glyphcache.hxx.

References FontAttributes::IsSymbolFont(), and maDevFontAttributes.

◆ ReleaseFaceFT()

void FreetypeFontInfo::ReleaseFaceFT ( )

Friends And Related Function Documentation

◆ FreetypeManager

friend class FreetypeManager
friend

Definition at line 81 of file freetype_glyphcache.hxx.

Member Data Documentation

◆ maDevFontAttributes

FontAttributes FreetypeFontInfo::maDevFontAttributes
private

Definition at line 91 of file freetype_glyphcache.hxx.

Referenced by GetFontAttributes(), and IsSymbolFont().

◆ maFaceFT

FT_FaceRec_* FreetypeFontInfo::maFaceFT
private

Definition at line 85 of file freetype_glyphcache.hxx.

◆ mnFaceNum

const int FreetypeFontInfo::mnFaceNum
private

Definition at line 87 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceIndex().

◆ mnFaceVariation

const int FreetypeFontInfo::mnFaceVariation
private

Definition at line 88 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceVariation().

◆ mnFontId

sal_IntPtr FreetypeFontInfo::mnFontId
private

Definition at line 90 of file freetype_glyphcache.hxx.

Referenced by GetFontId().

◆ mnRefCount

int FreetypeFontInfo::mnRefCount
private

Definition at line 89 of file freetype_glyphcache.hxx.

◆ mpFontFile

FreetypeFontFile* const FreetypeFontInfo::mpFontFile
private

Definition at line 86 of file freetype_glyphcache.hxx.

Referenced by GetFontFileName().

◆ mxFontCharMap

FontCharMapRef FreetypeFontInfo::mxFontCharMap
mutableprivate

Definition at line 93 of file freetype_glyphcache.hxx.


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