LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
cairo::Qt5SvpSurface Class Reference

#include <Qt5SvpSurface.hxx>

Inheritance diagram for cairo::Qt5SvpSurface:
[legend]
Collaboration diagram for cairo::Qt5SvpSurface:
[legend]

Public Member Functions

 Qt5SvpSurface (const CairoSurfaceSharedPtr &pSurface)
 takes over ownership of passed cairo_surface More...
 
 Qt5SvpSurface (const Qt5SvpGraphics *pGraphics, int x, int y, int width, int height)
 create surface on subarea of given drawable More...
 
 ~Qt5SvpSurface () override
 
CairoSharedPtr getCairo () const override
 
CairoSurfaceSharedPtr getCairoSurface () const override
 
SurfaceSharedPtr getSimilar (int nContentType, int width, int height) const override
 
VclPtr< VirtualDevicecreateVirtualDevice () const override
 factory for VirDev on this surface More...
 
void flush () const override
 Flush all pending output to surface. More...
 
- Public Member Functions inherited from cairo::Surface
virtual ~Surface ()
 
virtual bool Resize (int, int)
 Resize the surface (possibly destroying content), only possible for X11 typically so on failure caller must create a new surface instead. More...
 

Private Attributes

const Qt5SvpGraphicsm_pGraphics
 
cairo_t *const m_pCairoContext
 
CairoSurfaceSharedPtr m_pSurface
 

Detailed Description

Definition at line 21 of file Qt5SvpSurface.hxx.

Constructor & Destructor Documentation

cairo::Qt5SvpSurface::Qt5SvpSurface ( const CairoSurfaceSharedPtr pSurface)
explicit

takes over ownership of passed cairo_surface

cairo::Qt5SvpSurface::Qt5SvpSurface ( const Qt5SvpGraphics pGraphics,
int  x,
int  y,
int  width,
int  height 
)
explicit

create surface on subarea of given drawable

cairo::Qt5SvpSurface::~Qt5SvpSurface ( )
override

Member Function Documentation

VclPtr<VirtualDevice> cairo::Qt5SvpSurface::createVirtualDevice ( ) const
overridevirtual

factory for VirDev on this surface

Implements cairo::Surface.

void cairo::Qt5SvpSurface::flush ( ) const
overridevirtual

Flush all pending output to surface.

Implements cairo::Surface.

CairoSharedPtr cairo::Qt5SvpSurface::getCairo ( ) const
overridevirtual

Implements cairo::Surface.

CairoSurfaceSharedPtr cairo::Qt5SvpSurface::getCairoSurface ( ) const
inlineoverridevirtual

Implements cairo::Surface.

Definition at line 36 of file Qt5SvpSurface.hxx.

References m_pSurface.

SurfaceSharedPtr cairo::Qt5SvpSurface::getSimilar ( int  nContentType,
int  width,
int  height 
) const
overridevirtual

Implements cairo::Surface.

Member Data Documentation

cairo_t* const cairo::Qt5SvpSurface::m_pCairoContext
private

Definition at line 24 of file Qt5SvpSurface.hxx.

const Qt5SvpGraphics* cairo::Qt5SvpSurface::m_pGraphics
private

Definition at line 23 of file Qt5SvpSurface.hxx.

CairoSurfaceSharedPtr cairo::Qt5SvpSurface::m_pSurface
private

Definition at line 25 of file Qt5SvpSurface.hxx.

Referenced by getCairoSurface().


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