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

#include <svpcairotextrender.hxx>

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

Public Member Functions

 SvpCairoTextRender (SvpSalGraphics &rParent)
 
virtual cairo_tgetCairoContext () override
 
virtual void getSurfaceOffset (double &nDX, double &nDY) override
 
virtual void clipRegion (cairo_t *cr) override
 
virtual void releaseCairoContext (cairo_t *cr) override
 
- Public Member Functions inherited from CairoTextRender
virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &) override
 
 CairoTextRender ()
 
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 (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 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 std::unique_ptr< GenericSalLayoutGetTextLayout (int nFallbackLevel)=0
 
virtual void DrawTextLayout (const GenericSalLayout &, const SalGraphics &)=0
 

Private Attributes

SvpSalGraphicsmrParent
 

Additional Inherited Members

virtual cairo_tgetCairoContext ()=0
 
virtual void getSurfaceOffset (double &nDX, double &nDY)=0
 
virtual void releaseCairoContext (cairo_t *cr)=0
 
virtual void clipRegion (cairo_t *cr)=0
 
- Protected Attributes inherited from FreeTypeTextRenderImpl
rtl::Reference< FreetypeFontInstancempFreetypeFont [MAX_FALLBACK]
 
Color mnTextColor
 

Detailed Description

Definition at line 17 of file svpcairotextrender.hxx.

Constructor & Destructor Documentation

◆ SvpCairoTextRender()

SvpCairoTextRender::SvpCairoTextRender ( SvpSalGraphics rParent)
explicit

Member Function Documentation

◆ clipRegion()

virtual void SvpCairoTextRender::clipRegion ( cairo_t cr)
overridevirtual

Implements CairoTextRender.

◆ getCairoContext()

virtual cairo_t * SvpCairoTextRender::getCairoContext ( )
overridevirtual

Implements CairoTextRender.

◆ getSurfaceOffset()

virtual void SvpCairoTextRender::getSurfaceOffset ( double &  nDX,
double &  nDY 
)
overridevirtual

Implements CairoTextRender.

◆ releaseCairoContext()

virtual void SvpCairoTextRender::releaseCairoContext ( cairo_t cr)
overridevirtual

Implements CairoTextRender.

Member Data Documentation

◆ mrParent

SvpSalGraphics& SvpCairoTextRender::mrParent
private

Definition at line 19 of file svpcairotextrender.hxx.


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