LibreOffice Module cppcanvas (master) 1
Namespaces | Classes | Typedefs | Functions
cppcanvas Namespace Reference

Namespaces

namespace  internal
 
namespace  tools
 

Classes

class  BaseGfxFactory
 The BaseGfxFactory creates Canvas objects for various basegfx primitives, such as polygons and bitmaps (not yet implemented). More...
 
class  Bitmap
 This interface defines a Bitmap canvas object. More...
 
class  BitmapCanvas
 BitmapCanvas interface. More...
 
class  Canvas
 Canvas interface. More...
 
class  CanvasGraphic
 This interface defines basic properties of objects that can be painted on a Canvas. More...
 
class  CustomSprite
 
class  PolyPolygon
 This interface defines a tools::PolyPolygon canvas object. More...
 
class  Renderer
 
class  Sprite
 
class  SpriteCanvas
 SpriteCanvas interface. More...
 
class  VCLFactory
 The VCLFactory creates Canvas objects for various VCL OutputDevice primitives, such as windows, polygons, bitmaps and metafiles. More...
 

Typedefs

typedef std::shared_ptr< CanvasCanvasSharedPtr
 
typedef std::shared_ptr< ::cppcanvas::CustomSpriteCustomSpriteSharedPtr
 
typedef std::shared_ptr< ::cppcanvas::BitmapBitmapSharedPtr
 
typedef std::shared_ptr< BitmapCanvasBitmapCanvasSharedPtr
 
typedef std::shared_ptr< PolyPolygonPolyPolygonSharedPtr
 
typedef std::shared_ptr< CanvasCanvasSharedPtr
 
typedef sal_uInt32 IntSRGBA
 Color in the sRGB color space, plus alpha channel. More...
 
typedef std::shared_ptr< ::cppcanvas::CustomSpriteCustomSpriteSharedPtr
 
typedef std::shared_ptr< ::cppcanvas::RendererRendererSharedPtr
 
typedef std::shared_ptr< ::cppcanvas::SpriteCanvasSpriteCanvasSharedPtr
 

Functions

sal_uInt8 getRed (IntSRGBA nCol)
 
sal_uInt8 getGreen (IntSRGBA nCol)
 
sal_uInt8 getBlue (IntSRGBA nCol)
 
sal_uInt8 getAlpha (IntSRGBA nCol)
 
IntSRGBA makeColor (sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue, sal_uInt8 nAlpha)
 
sal_Int32 makeColorARGB (sal_uInt8 nAlpha, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue)
 

Typedef Documentation

◆ BitmapCanvasSharedPtr

typedef std::shared_ptr< BitmapCanvas > cppcanvas::BitmapCanvasSharedPtr

Definition at line 35 of file bitmapcanvas.hxx.

◆ BitmapSharedPtr

typedef std::shared_ptr< ::cppcanvas::Bitmap > cppcanvas::BitmapSharedPtr

Definition at line 65 of file bitmap.hxx.

◆ CanvasSharedPtr

typedef std::shared_ptr< Canvas > cppcanvas::CanvasSharedPtr

Definition at line 50 of file canvas.hxx.

◆ CustomSpriteSharedPtr

Definition at line 39 of file customsprite.hxx.

◆ IntSRGBA

typedef sal_uInt32 cppcanvas::IntSRGBA

Color in the sRGB color space, plus alpha channel.

The four bytes of the sal_uInt32 are allocated as follows to the color channels and alpha: 0xRRGGBBAA.

Definition at line 34 of file color.hxx.

◆ PolyPolygonSharedPtr

Definition at line 47 of file canvas.hxx.

◆ RendererSharedPtr

Definition at line 135 of file renderer.hxx.

◆ SpriteCanvasSharedPtr

Definition at line 41 of file spritecanvas.hxx.

Function Documentation

◆ getAlpha()

sal_uInt8 cppcanvas::getAlpha ( IntSRGBA  nCol)
inline

Definition at line 51 of file color.hxx.

Referenced by cppcanvas::tools::intSRGBAToDoubleSequence().

◆ getBlue()

sal_uInt8 cppcanvas::getBlue ( IntSRGBA  nCol)
inline

Definition at line 46 of file color.hxx.

Referenced by cppcanvas::tools::intSRGBAToDoubleSequence().

◆ getGreen()

sal_uInt8 cppcanvas::getGreen ( IntSRGBA  nCol)
inline

Definition at line 41 of file color.hxx.

Referenced by cppcanvas::tools::intSRGBAToDoubleSequence().

◆ getRed()

sal_uInt8 cppcanvas::getRed ( IntSRGBA  nCol)
inline

Definition at line 36 of file color.hxx.

Referenced by cppcanvas::tools::intSRGBAToDoubleSequence().

◆ makeColor()

IntSRGBA cppcanvas::makeColor ( sal_uInt8  nRed,
sal_uInt8  nGreen,
sal_uInt8  nBlue,
sal_uInt8  nAlpha 
)
inline

Definition at line 56 of file color.hxx.

Referenced by cppcanvas::tools::doubleSequenceToIntSRGBA().

◆ makeColorARGB()

sal_Int32 cppcanvas::makeColorARGB ( sal_uInt8  nAlpha,
sal_uInt8  nRed,
sal_uInt8  nGreen,
sal_uInt8  nBlue 
)
inline

Definition at line 61 of file color.hxx.