LibreOffice Module canvas (master)
1
|
Target interface for XCachedPrimitive implementations. More...
#include <cairo_surfaceprovider.hxx>
Public Member Functions | |
virtual | ~SurfaceProvider () |
virtual ::cairo::SurfaceSharedPtr | getSurface ()=0 |
Query surface from this provider. More... | |
virtual ::cairo::SurfaceSharedPtr | createSurface (const ::basegfx::B2ISize &rSize, int aContent)=0 |
create new surface in given size More... | |
virtual ::cairo::SurfaceSharedPtr | createSurface (::Bitmap &rBitmap)=0 |
create new surface from given bitmap More... | |
virtual ::cairo::SurfaceSharedPtr | changeSurface ()=0 |
convert surface from alpha to non-alpha, does not copy content channel. More... | |
virtual OutputDevice * | getOutputDevice ()=0 |
Provides the underlying vcl outputdevice this surface renders on. More... | |
Target interface for XCachedPrimitive implementations.
This interface must be implemented on all canvas implementations that hand out XCachedPrimitives
Definition at line 40 of file cairo_surfaceprovider.hxx.
|
inlinevirtual |
Definition at line 43 of file cairo_surfaceprovider.hxx.
|
pure virtual |
convert surface from alpha to non-alpha, does not copy content channel.
returns new surface on success, NULL otherwise
Referenced by cairocanvas::CanvasHelper::implDrawBitmapSurface().
|
pure virtual |
create new surface in given size
Referenced by cairocanvas::CanvasHelper::implDrawBitmapSurface().
|
pure virtual |
create new surface from given bitmap
|
pure virtual |
Provides the underlying vcl outputdevice this surface renders on.
|
pure virtual |
Query surface from this provider.
This should return the default surface to render on.
Referenced by cairocanvas::surfaceFromXBitmap().