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

#include <font.hxx>

Inheritance diagram for SkiaWinFontInstance:
Collaboration diagram for SkiaWinFontInstance:

Public Member Functions

sk_sp< SkTypeface > GetSkiaTypeface () const
bool GetSkiaDWrite () const
void SetSkiaTypeface (const sk_sp< SkTypeface > &typeface, bool dwrite)
- Public Member Functions inherited from WinFontInstance
 ~WinFontInstance () override
bool hasHScale () const
float getHScale () const
void SetGraphics (WinSalGraphics *)
WinSalGraphicsGetGraphics () const
HFONT GetHFONT () const
float GetScale () const
bool IsCJKVerticalFont () const
sal_Int32 GetTmDescent () const
const WinFontFaceGetFontFace () const
WinFontFaceGetFontFace ()
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
virtual bool GetGlyphOutline (sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const =0
sal_GlyphId GetGlyphIndex (uint32_t, uint32_t=0) const
double GetGlyphWidth (sal_GlyphId, bool=false, bool=true) const
int GetKashidaWidth () const
void GetScale (double *nXScale, double *nYScale) const
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
void acquire ()
void release ()

Private Attributes

sk_sp< SkTypeface > m_skiaTypeface
bool m_skiaDWrite


rtl::Reference< LogicalFontInstanceWinFontFace::CreateFontInstance (const vcl::font::FontSelectPattern &) const

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
static void * operator 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 &)
virtual bool ImplGetGlyphBoundRect (sal_GlyphId, tools::Rectangle &, bool) const =0
hb_font_t * InitHbFont ()
virtual void ImplInitHbFont (hb_font_t *)
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount

Detailed Description

Definition at line 20 of file vcl/inc/skia/win/font.hxx.

Member Function Documentation

◆ GetSkiaDWrite()

bool SkiaWinFontInstance::GetSkiaDWrite ( ) const

Definition at line 27 of file vcl/inc/skia/win/font.hxx.

References m_skiaDWrite.

◆ GetSkiaTypeface()

sk_sp< SkTypeface > SkiaWinFontInstance::GetSkiaTypeface ( ) const

Definition at line 26 of file vcl/inc/skia/win/font.hxx.

References m_skiaTypeface.

◆ SetSkiaTypeface()

void SkiaWinFontInstance::SetSkiaTypeface ( const sk_sp< SkTypeface > &  typeface,
bool  dwrite 

Definition at line 28 of file vcl/inc/skia/win/font.hxx.

References m_skiaDWrite, and m_skiaTypeface.

Friends And Related Function Documentation

◆ WinFontFace::CreateFontInstance

Member Data Documentation

◆ m_skiaDWrite

bool SkiaWinFontInstance::m_skiaDWrite

Definition at line 37 of file vcl/inc/skia/win/font.hxx.

Referenced by GetSkiaDWrite(), and SetSkiaTypeface().

◆ m_skiaTypeface

sk_sp<SkTypeface> SkiaWinFontInstance::m_skiaTypeface

Definition at line 36 of file vcl/inc/skia/win/font.hxx.

Referenced by GetSkiaTypeface(), and SetSkiaTypeface().

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