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

#include <cairotextrender.hxx>

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

Public Member Functions

virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &) override
 
 CairoTextRender (CairoCommon &rCairoCommon)
 
virtual ~CairoTextRender ()
 
- 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 (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 Member Functions

cairo_tgetCairoContext ()
 
void releaseCairoContext (cairo_t *cr)
 
void clipRegion (cairo_t *cr)
 

Private Attributes

CairoCommonmrCairoCommon
 

Additional Inherited Members

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

Detailed Description

Definition at line 31 of file cairotextrender.hxx.

Constructor & Destructor Documentation

◆ CairoTextRender()

CairoTextRender::CairoTextRender ( CairoCommon rCairoCommon)

◆ ~CairoTextRender()

virtual CairoTextRender::~CairoTextRender ( )
virtual

Member Function Documentation

◆ clipRegion()

void CairoTextRender::clipRegion ( cairo_t cr)
protected

◆ DrawTextLayout()

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

Implements TextRenderImpl.

◆ getCairoContext()

cairo_t * CairoTextRender::getCairoContext ( )
protected

◆ releaseCairoContext()

void CairoTextRender::releaseCairoContext ( cairo_t cr)
protected

Member Data Documentation

◆ mrCairoCommon

CairoCommon& CairoTextRender::mrCairoCommon
private

Definition at line 34 of file cairotextrender.hxx.


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