23#include <osl/endian.h>
26#include <config_features.h>
27#include <config_cairo_rgba.h>
41#define SVP_24BIT_FORMAT (ScanlineFormat::N24BitTcRgb | ScanlineFormat::TopDown)
42#define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcRgba | ScanlineFormat::TopDown)
43#define SVP_CAIRO_BLUE 1
44#define SVP_CAIRO_GREEN 2
45#define SVP_CAIRO_RED 0
46#define SVP_CAIRO_ALPHA 3
47#elif defined OSL_BIGENDIAN
48#define SVP_24BIT_FORMAT (ScanlineFormat::N24BitTcRgb | ScanlineFormat::TopDown)
49#define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcArgb | ScanlineFormat::TopDown)
50#define SVP_CAIRO_BLUE 3
51#define SVP_CAIRO_GREEN 2
52#define SVP_CAIRO_RED 1
53#define SVP_CAIRO_ALPHA 0
55#define SVP_24BIT_FORMAT (ScanlineFormat::N24BitTcBgr | ScanlineFormat::TopDown)
56#define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcBgra | ScanlineFormat::TopDown)
57#define SVP_CAIRO_BLUE 0
58#define SVP_CAIRO_GREEN 1
59#define SVP_CAIRO_RED 2
60#define SVP_CAIRO_ALPHA 3
95 virtual bool Resize(
int ,
int ) {
return false; }
struct _cairo_surface cairo_surface_t
std::shared_ptr< Surface > SurfaceSharedPtr
std::shared_ptr< cairo_t > CairoSharedPtr
std::shared_ptr< cairo_surface_t > CairoSurfaceSharedPtr
virtual void flush() const =0
Flush all pending output to surface.
virtual CairoSurfaceSharedPtr getCairoSurface() const =0
virtual bool Resize(int, int)
Resize the surface (possibly destroying content), only possible for X11 typically so on failure calle...
virtual VclPtr< VirtualDevice > createVirtualDevice() const =0
factory for VirDev on this surface
virtual SurfaceSharedPtr getSimilar(int cairo_content_type, int width, int height) const =0
virtual CairoSharedPtr getCairo() const =0