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 (PhysicalFontCollection *) override
 
virtual void ClearDevFontCache () override
 
virtual bool AddTempDevFont (PhysicalFontCollection *, const OUString &rFileURL, const OUString &rFontName) override
 
virtual bool CreateFontSubset (const OUString &rToFile, const PhysicalFontFace *, const sal_GlyphId *pGlyphIDs, const sal_uInt8 *pEncoding, sal_Int32 *pWidths, int nGlyphs, FontSubsetInfo &rInfo) override
 
virtual const voidGetEmbedFontData (const PhysicalFontFace *, long *pDataLen) override
 
virtual void FreeEmbedFontData (const void *pData, long nDataLen) override
 
virtual void GetGlyphWidths (const 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 ()
 
void ReleaseFonts ()
 
virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &)=0
 

Protected Attributes

rtl::Reference< FreetypeFontInstancempFreetypeFont [MAX_FALLBACK]
 
Color mnTextColor
 

Detailed Description

Definition at line 29 of file freetypetextrender.hxx.

Constructor & Destructor Documentation

FreeTypeTextRenderImpl::FreeTypeTextRenderImpl ( )
virtual FreeTypeTextRenderImpl::~FreeTypeTextRenderImpl ( )
overridevirtual

Member Function Documentation

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

Implements TextRenderImpl.

virtual void FreeTypeTextRenderImpl::ClearDevFontCache ( )
overridevirtual

Implements TextRenderImpl.

Reimplemented in SkiaTextRender.

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

Implements TextRenderImpl.

virtual void FreeTypeTextRenderImpl::FreeEmbedFontData ( const void pData,
long  nDataLen 
)
overridevirtual

Implements TextRenderImpl.

virtual void FreeTypeTextRenderImpl::GetDevFontList ( PhysicalFontCollection )
overridevirtual

Implements TextRenderImpl.

virtual const void* FreeTypeTextRenderImpl::GetEmbedFontData ( const PhysicalFontFace ,
long *  pDataLen 
)
overridevirtual

Implements TextRenderImpl.

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

Implements TextRenderImpl.

virtual FontCharMapRef FreeTypeTextRenderImpl::GetFontCharMap ( ) const
overridevirtual

Implements TextRenderImpl.

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

Implements TextRenderImpl.

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

Implements TextRenderImpl.

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

Implements TextRenderImpl.

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

Implements TextRenderImpl.

virtual void FreeTypeTextRenderImpl::SetTextColor ( Color  nColor)
overridevirtual

Implements TextRenderImpl.

Member Data Documentation

Color FreeTypeTextRenderImpl::mnTextColor
protected

Definition at line 35 of file freetypetextrender.hxx.

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

Definition at line 33 of file freetypetextrender.hxx.


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