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

#include <Qt5SvpSurface.hxx>

Inheritance diagram for cairo::Qt5SvpSurface:
Collaboration diagram for cairo::Qt5SvpSurface:

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)

takes over ownership of passed cairo_surface

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

create surface on subarea of given drawable

cairo::Qt5SvpSurface::~Qt5SvpSurface ( )

Member Function Documentation

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

factory for VirDev on this surface

Implements cairo::Surface.

void cairo::Qt5SvpSurface::flush ( ) const

Flush all pending output to surface.

Implements cairo::Surface.

CairoSharedPtr cairo::Qt5SvpSurface::getCairo ( ) const

Implements cairo::Surface.

CairoSurfaceSharedPtr cairo::Qt5SvpSurface::getCairoSurface ( ) const

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

Implements cairo::Surface.

Member Data Documentation

cairo_t* const cairo::Qt5SvpSurface::m_pCairoContext

Definition at line 24 of file Qt5SvpSurface.hxx.

const Qt5SvpGraphics* cairo::Qt5SvpSurface::m_pGraphics

Definition at line 23 of file Qt5SvpSurface.hxx.

CairoSurfaceSharedPtr cairo::Qt5SvpSurface::m_pSurface

Definition at line 25 of file Qt5SvpSurface.hxx.

Referenced by getCairoSurface().

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