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 ()
 
FT_FaceRec_ * GetFaceFT ()
 
void ReleaseFaceFT ()
 
FreetypeFontFileGetFontFile () const
 
const OString & GetFontFileName () const
 
int GetFontFaceIndex () const
 
int GetFontFaceVariation () const
 
sal_IntPtr GetFontId () const
 
const FontAttributesGetFontAttributes () const
 
void AnnounceFont (vcl::font::PhysicalFontCollection *)
 

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
 

Friends

class FreetypeManager
 

Detailed Description

Definition at line 56 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 69 of file freetype_glyphcache.hxx.

References maDevFontAttributes.

◆ GetFontFaceIndex()

int FreetypeFontInfo::GetFontFaceIndex ( ) const
inline

Definition at line 66 of file freetype_glyphcache.hxx.

References mnFaceNum.

◆ GetFontFaceVariation()

int FreetypeFontInfo::GetFontFaceVariation ( ) const
inline

Definition at line 67 of file freetype_glyphcache.hxx.

References mnFaceVariation.

◆ GetFontFile()

FreetypeFontFile * FreetypeFontInfo::GetFontFile ( ) const
inline

Definition at line 64 of file freetype_glyphcache.hxx.

References mpFontFile.

◆ GetFontFileName()

const OString & FreetypeFontInfo::GetFontFileName ( ) const
inline

Definition at line 65 of file freetype_glyphcache.hxx.

References FreetypeFontFile::GetFileName(), and mpFontFile.

◆ GetFontId()

sal_IntPtr FreetypeFontInfo::GetFontId ( ) const
inline

Definition at line 68 of file freetype_glyphcache.hxx.

References mnFontId.

Referenced by FreetypeFontFace::GetFontId().

◆ ReleaseFaceFT()

void FreetypeFontInfo::ReleaseFaceFT ( )

Friends And Related Function Documentation

◆ FreetypeManager

friend class FreetypeManager
friend

Definition at line 74 of file freetype_glyphcache.hxx.

Member Data Documentation

◆ maDevFontAttributes

FontAttributes FreetypeFontInfo::maDevFontAttributes
private

Definition at line 84 of file freetype_glyphcache.hxx.

Referenced by GetFontAttributes().

◆ maFaceFT

FT_FaceRec_* FreetypeFontInfo::maFaceFT
private

Definition at line 78 of file freetype_glyphcache.hxx.

◆ mnFaceNum

const int FreetypeFontInfo::mnFaceNum
private

Definition at line 80 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceIndex().

◆ mnFaceVariation

const int FreetypeFontInfo::mnFaceVariation
private

Definition at line 81 of file freetype_glyphcache.hxx.

Referenced by GetFontFaceVariation().

◆ mnFontId

sal_IntPtr FreetypeFontInfo::mnFontId
private

Definition at line 83 of file freetype_glyphcache.hxx.

Referenced by GetFontId().

◆ mnRefCount

int FreetypeFontInfo::mnRefCount
private

Definition at line 82 of file freetype_glyphcache.hxx.

◆ mpFontFile

FreetypeFontFile* const FreetypeFontInfo::mpFontFile
private

Definition at line 79 of file freetype_glyphcache.hxx.

Referenced by GetFontFile(), and GetFontFileName().


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