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

#include <glyphcache.hxx>

Collaboration diagram for FreetypeFont:
[legend]

Public Member Functions

 ~FreetypeFont ()
 
const OString & GetFontFileName () const
 
int GetFontFaceIndex () const
 
int GetFontFaceVariation () const
 
bool TestFont () const
 
FT_Face GetFtFace () const
 
const FontConfigFontOptionsGetFontOptions () const
 
void GetFontMetric (FontMetricDataRef const &) const
 
bool GetGlyphOutline (sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const
 
bool GetAntialiasAdvice () const
 

Private Member Functions

 FreetypeFont (FreetypeFontInstance &, std::shared_ptr< FreetypeFontInfo > rFontInfo)
 
void ApplyGlyphTransform (bool bVertical, FT_Glyph) const
 

Private Attributes

FreetypeFontInstancemrFontInstance
 
tools::Long mnCos
 
tools::Long mnSin
 
int mnWidth
 
int mnPrioAntiAlias
 
std::shared_ptr< FreetypeFontInfomxFontInfo
 
double mfStretch
 
FT_FaceRec_ * maFaceFT
 
FT_SizeRec_ * maSizeFT
 
std::unique_ptr< FontConfigFontOptionsmxFontOptions
 
bool mbFaceOk
 

Friends

class FreetypeFontInstance
 
class FreetypeManager
 

Detailed Description

Definition at line 112 of file glyphcache.hxx.

Constructor & Destructor Documentation

◆ ~FreetypeFont()

FreetypeFont::~FreetypeFont ( )

◆ FreetypeFont()

FreetypeFont::FreetypeFont ( FreetypeFontInstance ,
std::shared_ptr< FreetypeFontInfo rFontInfo 
)
explicitprivate

Member Function Documentation

◆ ApplyGlyphTransform()

void FreetypeFont::ApplyGlyphTransform ( bool  bVertical,
FT_Glyph   
) const
private

◆ GetAntialiasAdvice()

bool FreetypeFont::GetAntialiasAdvice ( ) const

◆ GetFontFaceIndex()

int FreetypeFont::GetFontFaceIndex ( ) const

◆ GetFontFaceVariation()

int FreetypeFont::GetFontFaceVariation ( ) const

◆ GetFontFileName()

const OString & FreetypeFont::GetFontFileName ( ) const

◆ GetFontMetric()

void FreetypeFont::GetFontMetric ( FontMetricDataRef const &  ) const

◆ GetFontOptions()

const FontConfigFontOptions * FreetypeFont::GetFontOptions ( ) const

◆ GetFtFace()

FT_Face FreetypeFont::GetFtFace ( ) const

◆ GetGlyphOutline()

bool FreetypeFont::GetGlyphOutline ( sal_GlyphId  ,
basegfx::B2DPolyPolygon ,
bool   
) const

◆ TestFont()

bool FreetypeFont::TestFont ( ) const
inline

Definition at line 120 of file glyphcache.hxx.

Friends And Related Function Documentation

◆ FreetypeFontInstance

friend class FreetypeFontInstance
friend

Definition at line 130 of file glyphcache.hxx.

◆ FreetypeManager

friend class FreetypeManager
friend

Definition at line 131 of file glyphcache.hxx.

Member Data Documentation

◆ maFaceFT

FT_FaceRec_* FreetypeFont::maFaceFT
private

Definition at line 147 of file glyphcache.hxx.

◆ maSizeFT

FT_SizeRec_* FreetypeFont::maSizeFT
private

Definition at line 148 of file glyphcache.hxx.

◆ mbFaceOk

bool FreetypeFont::mbFaceOk
private

Definition at line 152 of file glyphcache.hxx.

◆ mfStretch

double FreetypeFont::mfStretch
private

Definition at line 146 of file glyphcache.hxx.

◆ mnCos

tools::Long FreetypeFont::mnCos
private

Definition at line 140 of file glyphcache.hxx.

◆ mnPrioAntiAlias

int FreetypeFont::mnPrioAntiAlias
private

Definition at line 144 of file glyphcache.hxx.

◆ mnSin

tools::Long FreetypeFont::mnSin
private

Definition at line 141 of file glyphcache.hxx.

◆ mnWidth

int FreetypeFont::mnWidth
private

Definition at line 143 of file glyphcache.hxx.

◆ mrFontInstance

FreetypeFontInstance& FreetypeFont::mrFontInstance
private

Definition at line 137 of file glyphcache.hxx.

◆ mxFontInfo

std::shared_ptr<FreetypeFontInfo> FreetypeFont::mxFontInfo
private

Definition at line 145 of file glyphcache.hxx.

◆ mxFontOptions

std::unique_ptr<FontConfigFontOptions> FreetypeFont::mxFontOptions
mutableprivate

Definition at line 150 of file glyphcache.hxx.


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