LibreOffice Module vcl (master)  1
Public Member Functions | List of all members
cairo::Surface Struct Referenceabstract

Cairo surface interface. More...

#include <cairo.hxx>

Inheritance diagram for cairo::Surface:
[legend]

Public Member Functions

virtual ~Surface ()
 
virtual CairoSharedPtr getCairo () const =0
 
virtual CairoSurfaceSharedPtr getCairoSurface () const =0
 
virtual SurfaceSharedPtr getSimilar (int cairo_content_type, int width, int height) const =0
 
virtual VclPtr< VirtualDevicecreateVirtualDevice () const =0
 factory for VirDev on this surface More...
 
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...
 
virtual void flush () const =0
 Flush all pending output to surface. More...
 

Detailed Description

Cairo surface interface.

For each cairo-supported platform, there's an implementation of this interface

Definition at line 44 of file cairo.hxx.

Constructor & Destructor Documentation

virtual cairo::Surface::~Surface ( )
inlinevirtual

Definition at line 47 of file cairo.hxx.

Member Function Documentation

virtual VclPtr<VirtualDevice> cairo::Surface::createVirtualDevice ( ) const
pure virtual

factory for VirDev on this surface

Implemented in cairo::Qt5SvpSurface.

virtual void cairo::Surface::flush ( ) const
pure virtual

Flush all pending output to surface.

Implemented in cairo::Qt5SvpSurface.

virtual CairoSharedPtr cairo::Surface::getCairo ( ) const
pure virtual

Implemented in cairo::Qt5SvpSurface.

virtual CairoSurfaceSharedPtr cairo::Surface::getCairoSurface ( ) const
pure virtual

Implemented in cairo::Qt5SvpSurface.

virtual SurfaceSharedPtr cairo::Surface::getSimilar ( int  cairo_content_type,
int  width,
int  height 
) const
pure virtual

Implemented in cairo::Qt5SvpSurface.

virtual bool cairo::Surface::Resize ( int  ,
int   
)
inlinevirtual

Resize the surface (possibly destroying content), only possible for X11 typically so on failure caller must create a new surface instead.

Definition at line 59 of file cairo.hxx.


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