diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-07-17 13:20:04 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-07-17 13:20:04 +0000 |
commit | 1ad37520adb27d1fc9d1561e980d666a6b85ad34 (patch) | |
tree | 3b4f5350d1db74aec39e76434b8dc98125707601 /canvas | |
parent | b753a6bc6e06b4ae9b6e0a10a8538eae809a7e0c (diff) |
INTEGRATION: CWS presfixes12 (1.4.24); FILE MERGED
2007/02/20 22:23:07 thb 1.4.24.1: #i37778# Added XCanvas::clear() method throughout all implementations
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_canvascustomsprite.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/canvas/source/cairo/cairo_canvascustomsprite.cxx b/canvas/source/cairo/cairo_canvascustomsprite.cxx index 75fdd522a98a..584c0086620e 100644 --- a/canvas/source/cairo/cairo_canvascustomsprite.cxx +++ b/canvas/source/cairo/cairo_canvascustomsprite.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cairo_canvascustomsprite.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: vg $ $Date: 2006-11-01 14:45:15 $ + * last change: $Author: obo $ $Date: 2007-07-17 14:20:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -78,6 +78,9 @@ namespace cairocanvas maSpriteHelper.init( rSpriteSize, rRefDevice ); maSpriteHelper.setSurface( mpBufferSurface ); + + // clear sprite to 100% transparent + maCanvasHelper.clear(); } ::cairo::Surface* CanvasCustomSprite::changeSurface( bool bHasAlpha, bool bCopyContent ) |