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 80 of file cairo.hxx.

Constructor & Destructor Documentation

◆ ~Surface()

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

Definition at line 83 of file cairo.hxx.

Member Function Documentation

◆ createVirtualDevice()

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

factory for VirDev on this surface

Implemented in cairo::QtSvpSurface.

◆ flush()

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

Flush all pending output to surface.

Implemented in cairo::QtSvpSurface.

◆ getCairo()

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

Implemented in cairo::QtSvpSurface.

◆ getCairoSurface()

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

Implemented in cairo::QtSvpSurface.

◆ getSimilar()

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

Implemented in cairo::QtSvpSurface.

◆ Resize()

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 95 of file cairo.hxx.


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