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

#include <freetypetextrender.hxx>

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

Public Member Functions

 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
 

Protected Attributes

rtl::Reference< FreetypeFontInstancempFreetypeFont [MAX_FALLBACK]
 
Color mnTextColor
 

Detailed Description

Definition at line 30 of file freetypetextrender.hxx.

Constructor & Destructor Documentation

◆ FreeTypeTextRenderImpl()

FreeTypeTextRenderImpl::FreeTypeTextRenderImpl ( )

◆ ~FreeTypeTextRenderImpl()

virtual FreeTypeTextRenderImpl::~FreeTypeTextRenderImpl ( )
overridevirtual

Member Function Documentation

◆ AddTempDevFont()

virtual bool FreeTypeTextRenderImpl::AddTempDevFont ( vcl::font::PhysicalFontCollection ,
const OUString &  rFileURL,
const OUString &  rFontName 
)
overridevirtual

Implements TextRenderImpl.

◆ ClearDevFontCache()

virtual void FreeTypeTextRenderImpl::ClearDevFontCache ( )
overridevirtual

Implements TextRenderImpl.

Reimplemented in SkiaTextRender.

◆ CreateFontSubset()

virtual bool FreeTypeTextRenderImpl::CreateFontSubset ( const OUString &  rToFile,
const vcl::font::PhysicalFontFace ,
const sal_GlyphId pGlyphIDs,
const sal_uInt8 pEncoding,
sal_Int32 *  pWidths,
int  nGlyphs,
FontSubsetInfo rInfo 
)
overridevirtual

Implements TextRenderImpl.

◆ FreeEmbedFontData()

virtual void FreeTypeTextRenderImpl::FreeEmbedFontData ( const void *  pData,
tools::Long  nDataLen 
)
overridevirtual

Implements TextRenderImpl.

◆ GetDevFontList()

virtual void FreeTypeTextRenderImpl::GetDevFontList ( vcl::font::PhysicalFontCollection )
overridevirtual

Implements TextRenderImpl.

◆ GetEmbedFontData()

virtual const void * FreeTypeTextRenderImpl::GetEmbedFontData ( const vcl::font::PhysicalFontFace ,
tools::Long pDataLen 
)
overridevirtual

Implements TextRenderImpl.

◆ GetFontCapabilities()

virtual bool FreeTypeTextRenderImpl::GetFontCapabilities ( vcl::FontCapabilities rFontCapabilities) const
overridevirtual

Implements TextRenderImpl.

◆ GetFontCharMap()

virtual FontCharMapRef FreeTypeTextRenderImpl::GetFontCharMap ( ) const
overridevirtual

Implements TextRenderImpl.

◆ GetFontMetric()

virtual void FreeTypeTextRenderImpl::GetFontMetric ( ImplFontMetricDataRef ,
int  nFallbackLevel 
)
overridevirtual

Implements TextRenderImpl.

◆ GetGlyphWidths()

virtual void FreeTypeTextRenderImpl::GetGlyphWidths ( const vcl::font::PhysicalFontFace ,
bool  bVertical,
std::vector< sal_Int32 > &  rWidths,
Ucs2UIntMap rUnicodeEnc 
)
overridevirtual

Implements TextRenderImpl.

◆ GetTextLayout()

virtual std::unique_ptr< GenericSalLayout > FreeTypeTextRenderImpl::GetTextLayout ( int  nFallbackLevel)
overridevirtual

Implements TextRenderImpl.

◆ SetFont()

virtual void FreeTypeTextRenderImpl::SetFont ( LogicalFontInstance ,
int  nFallbackLevel 
)
overridevirtual

Implements TextRenderImpl.

◆ SetTextColor()

virtual void FreeTypeTextRenderImpl::SetTextColor ( Color  nColor)
overridevirtual

Implements TextRenderImpl.

Member Data Documentation

◆ mnTextColor

Color FreeTypeTextRenderImpl::mnTextColor
protected

Definition at line 36 of file freetypetextrender.hxx.

◆ mpFreetypeFont

rtl::Reference<FreetypeFontInstance> FreeTypeTextRenderImpl::mpFreetypeFont[MAX_FALLBACK]
protected

Definition at line 34 of file freetypetextrender.hxx.


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