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

Namespaces

 tools
 

Classes

struct  AlphaDIB
 
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  COMReference
 COM object RAII wrapper. 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...
 
class  GraphicsProviderImpl
 Actual canonical implementation of the GraphicsProvider interface. 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 > 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 > 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::FontFamilyFontFamilySharedPtr
 
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 > 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...
 
static uno::Reference< uno::XInterface > initCanvas (Canvas *pCanvas)
 
static uno::Reference< uno::XInterface > initBitmapCanvas (BitmapCanvas *pCanvas)
 
static uno::Reference< uno::XInterface > initCanvas (SpriteCanvas *pCanvas)
 
GraphicsSharedPtr createSurfaceGraphics (const COMReference< surface_type > &rSurface)
 Container providing a Gdiplus::Graphics for a Surface. More...
 

Variables

sdecl::class_< Canvas, sdecl::with_args< true > > const serviceImpl1 & initCanvas
 
const sdecl::ServiceDecl dxCanvasDecl (serviceImpl1, CANVAS_IMPLEMENTATION_NAME, CANVAS_SERVICE_NAME)
 
sdecl::class_< BitmapCanvas, sdecl::with_args< true > > const serviceImpl2 & initBitmapCanvas
 
const sdecl::ServiceDecl dxBitmapCanvasDecl (serviceImpl2, BITMAPCANVAS_IMPLEMENTATION_NAME, BITMAPCANVAS_SERVICE_NAME)
 
const sdecl::ServiceDecl dxSpriteCanvasDecl (serviceImpl, SPRITECANVAS_IMPLEMENTATION_NAME, SPRITECANVAS_SERVICE_NAME)
 

Typedef Documentation

Definition at line 120 of file dx_canvas.hxx.

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

Definition at line 63 of file dx_winstuff.hxx.

Definition at line 61 of file dx_canvas.hxx.

Definition at line 114 of file dx_canvas.hxx.

Definition at line 65 of file dx_canvas.hxx.

Definition at line 53 of file dx_canvasbitmap.hxx.

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

Definition at line 47 of file dx_canvasbitmap.hxx.

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

Definition at line 51 of file dx_canvascustomsprite.hxx.

Definition at line 78 of file dx_canvascustomsprite.hxx.

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

Definition at line 46 of file dx_canvasfont.hxx.

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

Definition at line 112 of file dx_devicehelper.hxx.

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

Definition at line 82 of file dx_bitmap.hxx.

Definition at line 133 of file dx_surfacebitmap.hxx.

Definition at line 43 of file dx_canvasfont.hxx.

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

Definition at line 42 of file dx_canvasfont.hxx.

Definition at line 42 of file dx_gdiplususer.hxx.

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

Definition at line 57 of file dx_canvas.hxx.

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

Definition at line 110 of file dx_canvas.hxx.

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

Definition at line 62 of file dx_winstuff.hxx.

Definition at line 44 of file dx_graphicsprovider.hxx.

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

Definition at line 61 of file dx_winstuff.hxx.

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

Definition at line 59 of file dx_ibitmap.hxx.

Definition at line 72 of file dx_rendermodule.hxx.

Definition at line 65 of file dx_spritecanvas.hxx.

Definition at line 91 of file dx_spritecanvas.hxx.

Definition at line 146 of file dx_spritecanvas.hxx.

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

Definition at line 42 of file dx_textlayout.hxx.

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

Definition at line 65 of file dx_winstuff.hxx.

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 > dxcanvas::WindowGraphicDeviceBase_Base

Definition at line 61 of file dx_spritecanvas.hxx.

Function Documentation

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

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

Definition at line 1207 of file dx_9rm.cxx.

GraphicsSharedPtr dxcanvas::createSurfaceGraphics ( const 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().

static uno::Reference<uno::XInterface> dxcanvas::initBitmapCanvas ( BitmapCanvas pCanvas)
static

Definition at line 226 of file dx_canvas.cxx.

References dxcanvas::BitmapCanvas::initialize().

static uno::Reference<uno::XInterface> dxcanvas::initCanvas ( SpriteCanvas pCanvas)
static

Definition at line 176 of file dx_spritecanvas.cxx.

References dxcanvas::SpriteCanvas::initialize().

static uno::Reference<uno::XInterface> dxcanvas::initCanvas ( Canvas pCanvas)
static

Definition at line 213 of file dx_canvas.cxx.

References dxcanvas::Canvas::initialize().

Variable Documentation

const sdecl::ServiceDecl dxcanvas::dxBitmapCanvasDecl(serviceImpl2, BITMAPCANVAS_IMPLEMENTATION_NAME, BITMAPCANVAS_SERVICE_NAME)
const sdecl::ServiceDecl dxcanvas::dxCanvasDecl(serviceImpl1, CANVAS_IMPLEMENTATION_NAME, CANVAS_SERVICE_NAME)
sdecl::class_<BitmapCanvas, sdecl::with_args<true> > const serviceImpl2& dxcanvas::initBitmapCanvas

Definition at line 234 of file dx_canvas.cxx.

sdecl::class_< SpriteCanvas, sdecl::with_args< true > > const serviceImpl & dxcanvas::initCanvas

Definition at line 220 of file dx_canvas.cxx.