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

#include <freetype_glyphcache.hxx>

Inheritance diagram for FreetypeFontInstance:
Collaboration diagram for FreetypeFontInstance:

Public Member Functions

virtual ~FreetypeFontInstance () override
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 cChar, FontWeight eWeight, const OUString &rFontName, bool bEmbolden, const ItalicMatrix &rMatrix)
bool GetFallbackForUnicode (sal_UCS4 cInChar, FontWeight eInWeight, OUString *pOutFontName, bool *pOutEmbolden, ItalicMatrix *pOutItalicMatrix) const
void IgnoreFallbackForUnicode (sal_UCS4, FontWeight eWeight, std::u16string_view rFontName)
hb_font_t * GetHbFont ()
bool IsGraphiteFont ()
bool NeedOffsetCorrection (sal_Int32 nYOffset)
void SetAverageWidthFactor (double nFactor)
double GetAverageWidthFactor () const
const vcl::font::FontSelectPatternGetFontSelectPattern () const
const vcl::font::PhysicalFontFaceGetFontFace () const
vcl::font::PhysicalFontFaceGetFontFace ()
const ImplFontCacheGetFontCache () const
bool GetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const
int GetKashidaWidth () const
void GetScale (double *nXScale, double *nYScale) const
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
void acquire ()
void release ()

Private Member Functions

virtual hb_font_t * ImplInitHbFont () override
virtual bool ImplGetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const override
 FreetypeFontInstance (const vcl::font::PhysicalFontFace &rPFF, const vcl::font::FontSelectPattern &rFSP)

Private Attributes

std::unique_ptr< FreetypeFontmxFreetypeFont


rtl::Reference< LogicalFontInstanceFreetypeFontFace::CreateFontInstance (const vcl::font::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 ConvertChar * mpConversion
tools::Long mnLineHeight
Degree10 mnOwnOrientation
Degree10 mnOrientation
bool mbInit
- Protected Member Functions inherited from LogicalFontInstance
 LogicalFontInstance (const vcl::font::PhysicalFontFace &, const vcl::font::FontSelectPattern &)
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
- 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 116 of file freetype_glyphcache.hxx.

Constructor & Destructor Documentation

FreetypeFontInstance::FreetypeFontInstance ( const vcl::font::PhysicalFontFace rPFF,
const vcl::font::FontSelectPattern rFSP 
virtual FreetypeFontInstance::~FreetypeFontInstance ( )

Member Function Documentation

FreetypeFont& FreetypeFontInstance::GetFreetypeFont ( ) const

Definition at line 130 of file freetype_glyphcache.hxx.

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

Implements LogicalFontInstance.

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

Implements LogicalFontInstance.

virtual hb_font_t* FreetypeFontInstance::ImplInitHbFont ( )

Reimplemented from LogicalFontInstance.

Friends And Related Function Documentation

Member Data Documentation

std::unique_ptr<FreetypeFont> FreetypeFontInstance::mxFreetypeFont

Definition at line 120 of file freetype_glyphcache.hxx.

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