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

#include <freetype_glyphcache.hxx>

Inheritance diagram for FreetypeFontInstance:
[legend]
Collaboration diagram for FreetypeFontInstance:
[legend]

Public Member Functions

virtual ~FreetypeFontInstance () override
 
void SetFreetypeFont (FreetypeFont *p)
 
FreetypeFontGetFreetypeFont () const
 
virtual bool GetGlyphOutline (sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const override
 
- Public Member Functions inherited from LogicalFontInstance
virtual ~LogicalFontInstance () override
 
void AddFallbackForUnicode (sal_UCS4, FontWeight eWeight, const OUString &rFontName)
 
bool GetFallbackForUnicode (sal_UCS4, FontWeight eWeight, OUString *pFontName) const
 
void IgnoreFallbackForUnicode (sal_UCS4, FontWeight eWeight, const OUString &rFontName)
 
hb_font_t * GetHbFont ()
 
void SetAverageWidthFactor (double nFactor)
 
double GetAverageWidthFactor () const
 
const FontSelectPatternGetFontSelectPattern () const
 
const PhysicalFontFaceGetFontFace () const
 
const ImplFontCacheGetFontCache () const
 
bool GetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const
 
int GetKashidaWidth ()
 
void GetScale (double *nXScale, double *nYScale)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

 FreetypeFontInstance (const PhysicalFontFace &rPFF, const FontSelectPattern &rFSP)
 
- Protected Member Functions inherited from LogicalFontInstance
 LogicalFontInstance (const PhysicalFontFace &, const FontSelectPattern &)
 
void ReleaseHbFont ()
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

virtual hb_font_t * ImplInitHbFont () override
 
virtual bool ImplGetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const override
 

Private Attributes

FreetypeFontmpFreetypeFont
 

Friends

rtl::Reference< LogicalFontInstanceFreetypeFontFace::CreateFontInstance (const FontSelectPattern &) const
 

Additional Inherited Members

- Static Public Member Functions inherited from LogicalFontInstance
static void DecodeOpenTypeTag (const uint32_t nTableTag, char *pTagName)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Public Attributes inherited from LogicalFontInstance
ImplFontMetricDataRef mxFontMetric
 
const ConvertCharmpConversion
 
long mnLineHeight
 
short mnOwnOrientation
 
short mnOrientation
 
bool mbInit
 
- Static Protected Member Functions inherited from LogicalFontInstance
static hb_font_t * InitHbFont (hb_face_t *pHbFace)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 106 of file freetype_glyphcache.hxx.

Constructor & Destructor Documentation

FreetypeFontInstance::FreetypeFontInstance ( const PhysicalFontFace rPFF,
const FontSelectPattern rFSP 
)
explicitprotected
virtual FreetypeFontInstance::~FreetypeFontInstance ( )
overridevirtual

Member Function Documentation

FreetypeFont* FreetypeFontInstance::GetFreetypeFont ( ) const
inline

Definition at line 122 of file freetype_glyphcache.hxx.

Referenced by SalLayoutGlyphsImpl::IsValid().

virtual bool FreetypeFontInstance::GetGlyphOutline ( sal_GlyphId  ,
basegfx::B2DPolyPolygon ,
bool   
) const
overridevirtual

Implements LogicalFontInstance.

virtual bool FreetypeFontInstance::ImplGetGlyphBoundRect ( sal_GlyphId  ,
tools::Rectangle ,
bool   
) const
overrideprivatevirtual

Implements LogicalFontInstance.

virtual hb_font_t* FreetypeFontInstance::ImplInitHbFont ( )
overrideprivatevirtual

Reimplemented from LogicalFontInstance.

void FreetypeFontInstance::SetFreetypeFont ( FreetypeFont p)

Friends And Related Function Documentation

Member Data Documentation

FreetypeFont* FreetypeFontInstance::mpFreetypeFont
private

Definition at line 110 of file freetype_glyphcache.hxx.


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