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

Namespaces

namespace  tools
 

Classes

class  BitmapCanvas
 Product of this component's factory. More...
 
class  BitmapCanvasHelper
 Helper class for basic canvas functionality. More...
 
struct  BitmapProvider
 
class  Canvas
 Product of this component's factory. More...
 
class  CanvasBitmap
 
class  CanvasCustomSprite
 
class  CanvasCustomSpriteSpriteBase_Base
 Mixin Sprite. More...
 
class  CanvasFont
 
class  CanvasHelper
 Helper class for basic canvas functionality. More...
 
class  DeviceHelper
 
class  DXBitmap
 
class  DXCanvasItem
 Provide DX canvas config data. More...
 
class  DXSurfaceBitmap
 
class  GDIPlusUser
 
class  GraphicsProvider
 Provider of a Gdiplus::Graphics. More...
 
struct  IBitmap
 Interface for internal canvas bitmap objects. More...
 
struct  IDXRenderModule
 Specialization of IRenderModule for DirectX. More...
 
class  LinePolyPolygon
 
class  Sprite
 Specialization of canvas::Sprite interface, to also provide redraw methods. More...
 
class  SpriteCanvas
 Product of this component's factory. More...
 
class  SpriteCanvasBaseSpriteSurface_Base
 Mixin SpriteSurface. More...
 
class  SpriteCanvasHelper
 
class  SpriteDeviceHelper
 
class  SpriteHelper
 Helper class for canvas sprites. More...
 
class  TextLayout
 
class  TextLayoutDrawHelper
 

Typedefs

typedef std::shared_ptr< DXBitmapDXBitmapSharedPtr
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XCanvas, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo > GraphicDeviceBase1_Base
 
typedef ::canvas::GraphicDeviceBase< ::canvas::BaseMutexHelper< GraphicDeviceBase1_Base >, DeviceHelper, ::osl::MutexGuard, ::cppu::OWeakObjectCanvasBase1_Base
 
typedef ::canvas::CanvasBase< CanvasBase1_Base, CanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObjectCanvasBaseT
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo > GraphicDeviceBase2_Base
 
typedef ::canvas::GraphicDeviceBase< ::canvas::BaseMutexHelper< GraphicDeviceBase2_Base >, DeviceHelper, ::osl::MutexGuard, ::cppu::OWeakObjectCanvasBase2_Base
 
typedef ::canvas::IntegerBitmapBase< canvas::BitmapCanvasBase2< CanvasBase2_Base, BitmapCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > > BitmapCanvasBaseT
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::lang::XServiceInfo, css::beans::XFastPropertySet > CanvasBitmapBase_Base
 
typedef ::canvas::IntegerBitmapBase< canvas::BitmapCanvasBase2< ::canvas::BaseMutexHelper< CanvasBitmapBase_Base >, BitmapCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > > CanvasBitmap_Base
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XCustomSprite, css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::lang::XServiceInfo > CanvasCustomSpriteBase_Base
 
typedef ::canvas::CanvasCustomSpriteBase< CanvasCustomSpriteSpriteBase_Base, SpriteHelper, BitmapCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObjectCanvasCustomSpriteBaseT
 
typedef std::shared_ptr< Gdiplus::Font > FontSharedPtr
 
typedef std::shared_ptr< Gdiplus::FontFamily > FontFamilySharedPtr
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XCanvasFont, css::lang::XServiceInfo > CanvasFont_Base
 
typedef ::rtl::Reference< css::rendering::XGraphicDevice > DeviceRef
 
typedef GDIPlusUser::GDIPlusUserSharedPtr GDIPlusUserSharedPtr
 
typedef std::shared_ptr< GraphicsProviderGraphicsProviderSharedPtr
 
typedef std::shared_ptr< IBitmapIBitmapSharedPtr
 
typedef std::shared_ptr< IDXRenderModuleIDXRenderModuleSharedPtr
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas, css::rendering::XIntegerBitmap, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::rendering::XBufferController, css::awt::XWindowListener, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo > WindowGraphicDeviceBase_Base
 
typedef ::canvas::BufferedGraphicDeviceBase< ::canvas::DisambiguationHelper< WindowGraphicDeviceBase_Base >, SpriteDeviceHelper, ::osl::MutexGuard, ::cppu::OWeakObjectSpriteCanvasBase_Base
 
typedef ::canvas::SpriteCanvasBase< SpriteCanvasBaseSpriteSurface_Base, SpriteCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObjectSpriteCanvasBaseT
 
typedef ::rtl::Reference< SpriteCanvasSpriteCanvasRef
 
typedef std::shared_ptr< DXSurfaceBitmapDXSurfaceBitmapSharedPtr
 
typedef ::cppu::WeakComponentImplHelper< css::rendering::XTextLayout, css::lang::XServiceInfo > TextLayout_Base
 
typedef std::shared_ptr< Gdiplus::Graphics > GraphicsSharedPtr
 
typedef std::shared_ptr< Gdiplus::GraphicsPath > GraphicsPathSharedPtr
 
typedef std::shared_ptr< Gdiplus::Bitmap > BitmapSharedPtr
 
typedef std::shared_ptr< Gdiplus::TextureBrush > TextureBrushSharedPtr
 

Functions

IDXRenderModuleSharedPtr createRenderModule (const vcl::Window &rParent)
 Factory method, to create an IRenderModule instance for the given VCL window instance. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * canvas_gdiplus_Canvas_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &args)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * canvas_gdiplus_BitmapCanvas_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &args)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * canvas_directx9_SpriteCanvas_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &args)
 
GraphicsSharedPtr createSurfaceGraphics (const sal::systools::COMReference< surface_type > &rSurface)
 Container providing a Gdiplus::Graphics for a Surface. More...
 

Typedef Documentation

◆ BitmapCanvasBaseT

Definition at line 126 of file dx_canvas.hxx.

◆ BitmapSharedPtr

typedef std::shared_ptr< Gdiplus::Bitmap > dxcanvas::BitmapSharedPtr

Definition at line 60 of file dx_winstuff.hxx.

◆ CanvasBase1_Base

Definition at line 61 of file dx_canvas.hxx.

◆ CanvasBase2_Base

Definition at line 120 of file dx_canvas.hxx.

◆ CanvasBaseT

Definition at line 65 of file dx_canvas.hxx.

◆ CanvasBitmap_Base

Definition at line 52 of file dx_canvasbitmap.hxx.

◆ CanvasBitmapBase_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::lang::XServiceInfo, css::beans::XFastPropertySet > dxcanvas::CanvasBitmapBase_Base

Definition at line 46 of file dx_canvasbitmap.hxx.

◆ CanvasCustomSpriteBase_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XCustomSprite, css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::lang::XServiceInfo > dxcanvas::CanvasCustomSpriteBase_Base

Definition at line 50 of file dx_canvascustomsprite.hxx.

◆ CanvasCustomSpriteBaseT

Definition at line 77 of file dx_canvascustomsprite.hxx.

◆ CanvasFont_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XCanvasFont, css::lang::XServiceInfo > dxcanvas::CanvasFont_Base

Definition at line 45 of file dx_canvasfont.hxx.

◆ DeviceRef

typedef ::rtl::Reference< css::rendering::XGraphicDevice > dxcanvas::DeviceRef

Definition at line 111 of file dx_devicehelper.hxx.

◆ DXBitmapSharedPtr

typedef std::shared_ptr< DXBitmap > dxcanvas::DXBitmapSharedPtr

Definition at line 79 of file dx_bitmap.hxx.

◆ DXSurfaceBitmapSharedPtr

Definition at line 132 of file dx_surfacebitmap.hxx.

◆ FontFamilySharedPtr

typedef std::shared_ptr< Gdiplus::FontFamily > dxcanvas::FontFamilySharedPtr

Definition at line 42 of file dx_canvasfont.hxx.

◆ FontSharedPtr

typedef std::shared_ptr< Gdiplus::Font > dxcanvas::FontSharedPtr

Definition at line 41 of file dx_canvasfont.hxx.

◆ GDIPlusUserSharedPtr

Definition at line 41 of file dx_gdiplususer.hxx.

◆ GraphicDeviceBase1_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XCanvas, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo> dxcanvas::GraphicDeviceBase1_Base

Definition at line 57 of file dx_canvas.hxx.

◆ GraphicDeviceBase2_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo > dxcanvas::GraphicDeviceBase2_Base

Definition at line 116 of file dx_canvas.hxx.

◆ GraphicsPathSharedPtr

typedef std::shared_ptr< Gdiplus::GraphicsPath > dxcanvas::GraphicsPathSharedPtr

Definition at line 59 of file dx_winstuff.hxx.

◆ GraphicsProviderSharedPtr

Definition at line 43 of file dx_graphicsprovider.hxx.

◆ GraphicsSharedPtr

typedef std::shared_ptr< Gdiplus::Graphics > dxcanvas::GraphicsSharedPtr

Definition at line 58 of file dx_winstuff.hxx.

◆ IBitmapSharedPtr

typedef std::shared_ptr<IBitmap> dxcanvas::IBitmapSharedPtr

Definition at line 58 of file dx_ibitmap.hxx.

◆ IDXRenderModuleSharedPtr

Definition at line 71 of file dx_rendermodule.hxx.

◆ SpriteCanvasBase_Base

Definition at line 66 of file dx_spritecanvas.hxx.

◆ SpriteCanvasBaseT

Definition at line 92 of file dx_spritecanvas.hxx.

◆ SpriteCanvasRef

Definition at line 152 of file dx_spritecanvas.hxx.

◆ TextLayout_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XTextLayout, css::lang::XServiceInfo > dxcanvas::TextLayout_Base

Definition at line 41 of file dx_textlayout.hxx.

◆ TextureBrushSharedPtr

typedef std::shared_ptr< Gdiplus::TextureBrush > dxcanvas::TextureBrushSharedPtr

Definition at line 62 of file dx_winstuff.hxx.

◆ WindowGraphicDeviceBase_Base

typedef ::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas, css::rendering::XIntegerBitmap, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::rendering::XBufferController, css::awt::XWindowListener, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName, css::lang::XServiceInfo> dxcanvas::WindowGraphicDeviceBase_Base

Definition at line 62 of file dx_spritecanvas.hxx.

Function Documentation

◆ canvas_directx9_SpriteCanvas_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * dxcanvas::canvas_directx9_SpriteCanvas_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &  args 
)

Definition at line 181 of file dx_spritecanvas.cxx.

References args.

◆ canvas_gdiplus_BitmapCanvas_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * dxcanvas::canvas_gdiplus_BitmapCanvas_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &  args 
)

Definition at line 247 of file dx_canvas.cxx.

References args.

◆ canvas_gdiplus_Canvas_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * dxcanvas::canvas_gdiplus_Canvas_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &  args 
)

Definition at line 238 of file dx_canvas.cxx.

References args.

◆ createRenderModule()

IDXRenderModuleSharedPtr dxcanvas::createRenderModule ( const vcl::Window rParent)

Factory method, to create an IRenderModule instance for the given VCL window instance.

Definition at line 1195 of file dx_9rm.cxx.

◆ createSurfaceGraphics()

GraphicsSharedPtr dxcanvas::createSurfaceGraphics ( const sal::systools::COMReference< surface_type > &  rSurface)

Container providing a Gdiplus::Graphics for a Surface.

This wrapper class transparently handles allocation and release of surface resources the RAII way (the GraphicsSharedPtr returned has a deleter that does all the necessary DX cleanup work).

Definition at line 55 of file dx_surfacegraphics.cxx.

References dxcanvas::tools::setupGraphics().

Referenced by dxcanvas::DXSurfaceBitmap::getGraphics().