summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 13:18:28 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 13:18:28 +0000
commitb2eb0891bc5411e68f47c2e606f3bf728b209c93 (patch)
tree7fe69ef2620e11d4206f81527dd18c2aebbb650d
parent34f5cbb8a9ee729c2a9827130993ed1ab1d01b7f (diff)
INTEGRATION: CWS presfixes12 (1.2.76); FILE MERGED
2007/02/20 22:23:07 thb 1.2.76.1: #i37778# Added XCanvas::clear() method throughout all implementations
-rw-r--r--canvas/inc/canvas/base/canvascustomspritehelper.hxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/canvas/inc/canvas/base/canvascustomspritehelper.hxx b/canvas/inc/canvas/base/canvascustomspritehelper.hxx
index 10bc889447e8..35cd174aed11 100644
--- a/canvas/inc/canvas/base/canvascustomspritehelper.hxx
+++ b/canvas/inc/canvas/base/canvascustomspritehelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: canvascustomspritehelper.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 12:42:39 $
+ * last change: $Author: obo $ $Date: 2007-07-17 14:18:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -94,6 +94,9 @@ namespace canvas
void disposing();
// XCanvas
+ /// need to call this method for XCanvas::clear(), for opacity tracking
+ void clearingContent( const Sprite::Reference& rSprite );
+
/// need to call this method for XCanvas::drawBitmap(), for opacity tracking
void checkDrawBitmap( const Sprite::Reference& rSprite,
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap >& xBitmap,
@@ -116,10 +119,6 @@ namespace canvas
void show( const Sprite::Reference& rSprite );
void hide( const Sprite::Reference& rSprite );
- // XCustomSprite
- /// Need to call this method for XCustomSprite::getContentCanvas(), for surface preparations
- void prepareContentCanvas( const Sprite::Reference& rSprite );
-
// Sprite
bool isAreaUpdateOpaque( const ::basegfx::B2DRange& rUpdateArea ) const;
::basegfx::B2DPoint getPosPixel() const;
@@ -232,13 +231,6 @@ namespace canvas
CanvasCustomSpriteHelper( const CanvasCustomSpriteHelper& );
CanvasCustomSpriteHelper& operator=( const CanvasCustomSpriteHelper& );
- /** Called to clear the sprite surface to fully transparent
-
- @derive must be overridden by derived classes, and
- implemented as to fully clear the sprite content.
- */
- virtual void clearSurface() = 0;
-
/** Called to convert an API polygon to a basegfx polygon
@derive Needs to be provided by backend-specific code