LibreOffice Module cppcanvas (master) 1
Static Public Member Functions | Private Member Functions | List of all members
cppcanvas::BaseGfxFactory Class Reference

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
 
BaseGfxFactoryoperator= (const BaseGfxFactory &)=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ BaseGfxFactory() [1/2]

cppcanvas::BaseGfxFactory::BaseGfxFactory ( )
privatedelete

◆ BaseGfxFactory() [2/2]

cppcanvas::BaseGfxFactory::BaseGfxFactory ( const BaseGfxFactory )
privatedelete

Member Function Documentation

◆ createAlphaBitmap()

BitmapSharedPtr cppcanvas::BaseGfxFactory::createAlphaBitmap ( const CanvasSharedPtr rCanvas,
const ::basegfx::B2ISize rSize 
)
static

Create an uninitialized alpha bitmap with the given size.

Definition at line 74 of file basegfxfactory.cxx.

◆ createBitmap()

BitmapSharedPtr cppcanvas::BaseGfxFactory::createBitmap ( const CanvasSharedPtr rCanvas,
const ::basegfx::B2ISize rSize 
)
static

Create an uninitialized bitmap with the given size.

Definition at line 56 of file basegfxfactory.cxx.

◆ createPolyPolygon()

PolyPolygonSharedPtr cppcanvas::BaseGfxFactory::createPolyPolygon ( const CanvasSharedPtr rCanvas,
const ::basegfx::B2DPolygon rPoly 
)
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.

◆ operator=()

BaseGfxFactory & cppcanvas::BaseGfxFactory::operator= ( const BaseGfxFactory )
privatedelete

The documentation for this class was generated from the following files: