LibreOffice Module cppcanvas (master) 1
|
The VCLFactory creates Canvas objects for various VCL OutputDevice primitives, such as windows, polygons, bitmaps and metafiles. More...
#include <vclfactory.hxx>
Static Public Member Functions | |
static CanvasSharedPtr | createCanvas (const css::uno::Reference< css::rendering::XCanvas > &xCanvas) |
static BitmapCanvasSharedPtr | createBitmapCanvas (const css::uno::Reference< css::rendering::XBitmapCanvas > &xCanvas) |
static SpriteCanvasSharedPtr | createSpriteCanvas (const vcl::Window &rVCLWindow) |
static SpriteCanvasSharedPtr | createSpriteCanvas (const css::uno::Reference< css::rendering::XSpriteCanvas > &xCanvas) |
static BitmapSharedPtr | createBitmap (const CanvasSharedPtr &, const ::BitmapEx &rBmpEx) |
Create a bitmap from a VCL Bitmap. More... | |
static RendererSharedPtr | createRenderer (const CanvasSharedPtr &rCanvas, const ::GDIMetaFile &rMtf, const Renderer::Parameters &rParms) |
Create a renderer object from a Metafile. More... | |
Private Member Functions | |
VCLFactory ()=delete | |
VCLFactory (const VCLFactory &)=delete | |
VCLFactory & | operator= (const VCLFactory &)=delete |
The VCLFactory creates Canvas objects for various VCL OutputDevice primitives, such as windows, polygons, bitmaps and metafiles.
Please note that the objects created for a specific Canvas can only be drawn on exactly that canvas. You have to regenerate them for different canvases.
Definition at line 55 of file vclfactory.hxx.
|
privatedelete |
|
privatedelete |
|
static |
Create a bitmap from a VCL Bitmap.
Definition at line 56 of file vclfactory.cxx.
References vcl::unotools::xBitmapFromBitmapEx().
|
static |
Definition at line 40 of file vclfactory.cxx.
|
static |
Definition at line 35 of file vclfactory.cxx.
|
static |
Create a renderer object from a Metafile.
The created renderer initially draws the metafile one-by-one units large, in user coordinate space
Definition at line 73 of file vclfactory.cxx.
|
static |
|
static |
Definition at line 45 of file vclfactory.cxx.
References vcl::Window::GetOutDev(), and OutputDevice::GetSpriteCanvas().
|
privatedelete |