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

#include <textrender.hxx>

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

Public Member Functions

virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &) override
 
virtual void ClearDevFontCache () override
 
- Public Member Functions inherited from FreeTypeTextRenderImpl
 FreeTypeTextRenderImpl ()
 
virtual ~FreeTypeTextRenderImpl () override
 
virtual void SetTextColor (Color nColor) override
 
virtual void SetFont (LogicalFontInstance *, int nFallbackLevel) override
 
virtual void GetFontMetric (ImplFontMetricDataRef &, int nFallbackLevel) override
 
virtual FontCharMapRef GetFontCharMap () const override
 
virtual bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const override
 
virtual void GetDevFontList (vcl::font::PhysicalFontCollection *) override
 
virtual void ClearDevFontCache () override
 
virtual bool AddTempDevFont (vcl::font::PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName) override
 
virtual bool CreateFontSubset (const OUString &rToFile, const vcl::font::PhysicalFontFace *, const sal_GlyphId *pGlyphIDs, const sal_uInt8 *pEncoding, sal_Int32 *pWidths, int nGlyphs, FontSubsetInfo &rInfo) override
 
virtual const void * GetEmbedFontData (const vcl::font::PhysicalFontFace *, tools::Long *pDataLen) override
 
virtual void FreeEmbedFontData (const void *pData, tools::Long nDataLen) override
 
virtual void GetGlyphWidths (const vcl::font::PhysicalFontFace *, bool bVertical, std::vector< sal_Int32 > &rWidths, Ucs2UIntMap &rUnicodeEnc) override
 
virtual std::unique_ptr< GenericSalLayoutGetTextLayout (int nFallbackLevel) override
 
- Public Member Functions inherited from TextRenderImpl
virtual ~TextRenderImpl ()
 
virtual void SetTextColor (Color nColor)=0
 
virtual void SetFont (LogicalFontInstance *, int nFallbackLevel)=0
 
void ReleaseFonts ()
 
virtual void GetFontMetric (ImplFontMetricDataRef &, int nFallbackLevel)=0
 
virtual FontCharMapRef GetFontCharMap () const =0
 
virtual bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const =0
 
virtual void GetDevFontList (vcl::font::PhysicalFontCollection *)=0
 
virtual void ClearDevFontCache ()=0
 
virtual bool AddTempDevFont (vcl::font::PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName)=0
 
virtual bool CreateFontSubset (const OUString &rToFile, const vcl::font::PhysicalFontFace *, const sal_GlyphId *pGlyphIDs, const sal_uInt8 *pEncoding, sal_Int32 *pWidths, int nGlyphs, FontSubsetInfo &rInfo)=0
 
virtual const void * GetEmbedFontData (const vcl::font::PhysicalFontFace *, tools::Long *pDataLen)=0
 
virtual void FreeEmbedFontData (const void *pData, tools::Long nDataLen)=0
 
virtual void GetGlyphWidths (const vcl::font::PhysicalFontFace *, bool bVertical, std::vector< sal_Int32 > &rWidths, Ucs2UIntMap &rUnicodeEnc)=0
 
virtual std::unique_ptr< GenericSalLayoutGetTextLayout (int nFallbackLevel)=0
 
virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &)=0
 

Static Private Attributes

static sk_sp< SkFontMgr > fontManager
 

Additional Inherited Members

- Protected Attributes inherited from FreeTypeTextRenderImpl
rtl::Reference< FreetypeFontInstancempFreetypeFont [MAX_FALLBACK]
 
Color mnTextColor
 

Detailed Description

Definition at line 28 of file skia/x11/textrender.hxx.

Member Function Documentation

◆ ClearDevFontCache()

virtual void SkiaTextRender::ClearDevFontCache ( )
overridevirtual

Reimplemented from FreeTypeTextRenderImpl.

◆ DrawTextLayout()

virtual void SkiaTextRender::DrawTextLayout ( const GenericSalLayout ,
const SalGraphics  
)
overridevirtual

Implements TextRenderImpl.

Member Data Documentation

◆ fontManager

sk_sp<SkFontMgr> SkiaTextRender::fontManager
inlinestaticprivate

Definition at line 35 of file skia/x11/textrender.hxx.


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