diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 19:52:49 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 19:52:49 +0000 |
commit | 25cca2646ca4ba8a2f3de116adc504e57dfea1ae (patch) | |
tree | 26b08507e9b9014a00dbdca7f70823491f5af37c /cppcanvas/inc | |
parent | 2d21573e6c014b88484d8b7bac34955e2f804ec2 (diff) |
INTEGRATION: CWS presentationengine01 (1.2.2); FILE MERGED
2004/10/26 23:39:12 thb 1.2.2.5: #110496# Added dedicated alpha bitmap support at the XGraphicDevice: extended factory methods
2004/08/01 20:16:35 thb 1.2.2.4: #110496# Added new constructor, which takes a UNO canvas
2004/06/25 10:30:18 thb 1.2.2.3: #110496# Some header cleanups (missing forward declarations), changed Canvas and derived to emulate covariant return types on clone() (not directly possible with shared_ptr)
2004/04/21 18:49:26 thb 1.2.2.2: #110496# Added shape-global change functionality to Renderer interface
2004/04/05 15:58:45 thb 1.2.2.1: Resync with canvas01 changes
Diffstat (limited to 'cppcanvas/inc')
-rw-r--r-- | cppcanvas/inc/cppcanvas/vclfactory.hxx | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/cppcanvas/inc/cppcanvas/vclfactory.hxx b/cppcanvas/inc/cppcanvas/vclfactory.hxx index cd4ebe76036f..79a18218fcc2 100644 --- a/cppcanvas/inc/cppcanvas/vclfactory.hxx +++ b/cppcanvas/inc/cppcanvas/vclfactory.hxx @@ -2,9 +2,9 @@ * * $RCSfile: vclfactory.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: thb $ $Date: 2004-03-18 10:41:00 $ + * last change: $Author: rt $ $Date: 2004-11-26 20:52:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -96,11 +96,17 @@ class PolyPolygon; class Size; class Graphic; class GDIMetaFile; +class Animation; namespace rtl { class OUString; } +namespace drafts { namespace com { namespace sun { namespace star { namespace rendering +{ + class XBitmapCanvas; + class XSpriteCanvas; +} } } } } /* Definition of VCLFactory class */ @@ -120,8 +126,12 @@ namespace cppcanvas static VCLFactory& getInstance(); BitmapCanvasSharedPtr createCanvas( const ::Window& rVCLWindow ); + BitmapCanvasSharedPtr createCanvas( const ::com::sun::star::uno::Reference< + ::drafts::com::sun::star::rendering::XBitmapCanvas >& xCanvas ); SpriteCanvasSharedPtr createSpriteCanvas( const ::Window& rVCLWindow ) const; + SpriteCanvasSharedPtr createSpriteCanvas( const ::com::sun::star::uno::Reference< + ::drafts::com::sun::star::rendering::XSpriteCanvas >& xCanvas ) const; SpriteCanvasSharedPtr createFullscreenSpriteCanvas( const ::Window& rVCLWindow, const Size& rFullscreenSize ) const; /** Create a polygon from a tools::Polygon @@ -136,6 +146,10 @@ namespace cppcanvas */ BitmapSharedPtr createBitmap( const CanvasSharedPtr&, const ::Size& rSize ) const; + /** Create an uninitialized alpha bitmap with the given size + */ + BitmapSharedPtr createAlphaBitmap( const CanvasSharedPtr&, const ::Size& rSize ) const; + /** Create a bitmap from a VCL Bitmap */ BitmapSharedPtr createBitmap( const CanvasSharedPtr&, const ::Bitmap& rBitmap ) const; @@ -146,13 +160,17 @@ namespace cppcanvas The created renderer initially draws the graphic one-by-one units large, in user coordinate space */ - RendererSharedPtr createRenderer( const CanvasSharedPtr&, const ::Graphic& rGraphic ) const; + RendererSharedPtr createRenderer( const CanvasSharedPtr& rCanvas, + const ::Graphic& rGraphic, + const Renderer::Parameters& rParms ) const; /** Create a renderer object from a Metafile The created renderer initially draws the metafile one-by-one units large, in user coordinate space */ - RendererSharedPtr createRenderer( const CanvasSharedPtr&, const ::GDIMetaFile& rMtf ) const; + RendererSharedPtr createRenderer( const CanvasSharedPtr& rCanvas, + const ::GDIMetaFile& rMtf, + const Renderer::Parameters& rParms ) const; /** Create an animated sprite from a VCL animation */ |