LibreOffice Module cppcanvas (master) 1
|
The BaseGfxFactory creates Canvas objects for various basegfx primitives, such as polygons and bitmaps (not yet implemented). More...
#include <basegfxfactory.hxx>
Static Public Member Functions | |
static PolyPolygonSharedPtr | createPolyPolygon (const CanvasSharedPtr &, const ::basegfx::B2DPolygon &rPoly) |
Create a polygon from a basegfx::B2DPolygon. More... | |
static BitmapSharedPtr | createBitmap (const CanvasSharedPtr &, const ::basegfx::B2ISize &rSize) |
Create an uninitialized bitmap with the given size. More... | |
static BitmapSharedPtr | createAlphaBitmap (const CanvasSharedPtr &, const ::basegfx::B2ISize &rSize) |
Create an uninitialized alpha bitmap with the given size. More... | |
Private Member Functions | |
BaseGfxFactory ()=delete | |
BaseGfxFactory (const BaseGfxFactory &)=delete | |
BaseGfxFactory & | operator= (const BaseGfxFactory &)=delete |
The BaseGfxFactory creates Canvas objects for various basegfx primitives, such as polygons and bitmaps (not yet implemented).
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 48 of file basegfxfactory.hxx.
|
privatedelete |
|
privatedelete |
|
static |
Create an uninitialized alpha bitmap with the given size.
Definition at line 74 of file basegfxfactory.cxx.
|
static |
Create an uninitialized bitmap with the given size.
Definition at line 56 of file basegfxfactory.cxx.
|
static |
Create a polygon from a basegfx::B2DPolygon.
The created polygon initially has the same size in user coordinate space as the source polygon
Definition at line 37 of file basegfxfactory.cxx.
|
privatedelete |