summaryrefslogtreecommitdiff
path: root/include/vcl/cairo.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/cairo.hxx')
-rw-r--r--include/vcl/cairo.hxx35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/vcl/cairo.hxx b/include/vcl/cairo.hxx
index 5ea81835d3ae..f65044dff7c9 100644
--- a/include/vcl/cairo.hxx
+++ b/include/vcl/cairo.hxx
@@ -61,41 +61,6 @@
typedef struct _cairo_surface cairo_surface_t;
typedef struct _cairo cairo_t;
-class VirtualDevice;
-namespace cairo {
-
- typedef std::shared_ptr<cairo_surface_t> CairoSurfaceSharedPtr;
- typedef std::shared_ptr<cairo_t> CairoSharedPtr;
- struct Surface;
- typedef std::shared_ptr<Surface> SurfaceSharedPtr;
-
- /** Cairo surface interface
-
- For each cairo-supported platform, there's an implementation of
- this interface
- */
- struct Surface
- {
- public:
- virtual ~Surface() {}
-
- // Query methods
- virtual CairoSharedPtr getCairo() const = 0;
- virtual CairoSurfaceSharedPtr getCairoSurface() const = 0;
- virtual SurfaceSharedPtr getSimilar(int cairo_content_type, int width, int height) const = 0;
-
- /// factory for VirDev on this surface
- virtual VclPtr<VirtualDevice> createVirtualDevice() const = 0;
-
- /// Resize the surface (possibly destroying content), only possible for X11 typically
- /// so on failure caller must create a new surface instead
- virtual bool Resize( int /*width*/, int /*height*/ ) { return false; }
-
- /// Flush all pending output to surface
- virtual void flush() const = 0;
- };
-
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */