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 (FontMetricDataRef &, 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 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 (FontMetricDataRef &, 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 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.

◆ GetDevFontList()

virtual void FreeTypeTextRenderImpl::GetDevFontList ( vcl::font::PhysicalFontCollection )
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 ( FontMetricDataRef ,
int  nFallbackLevel 
)
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: