diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-24 09:53:16 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-24 09:53:16 +0000 |
commit | fa473dc6e1e545307843921793c6f1a31a278612 (patch) | |
tree | bf552300ebf01166c24849135ed9fa3e2b92d1fe /canvas/source/vcl/bitmapbackbuffer.cxx | |
parent | 4cec52c5511304dffe5176989cc1bfb01d15c11b (diff) |
INTEGRATION: CWS canvas05 (1.6.68); FILE MERGED
2008/05/21 13:32:04 thb 1.6.68.3: Made vcl and cairo canvas work with emf+ patches; smoothed out internal cairo makefile changes; corrected cairocanvas sprite update
2008/04/21 07:28:20 thb 1.6.68.2: RESYNC: (1.6-1.7); FILE MERGED
2007/12/20 22:18:59 thb 1.6.68.1: #i81092# #i78888# #i78925# #i79258# #i79437# #i84784# Large canvas rework, completing various areas such as color spaces, bitmap data access, true sprite and non-sprite implementations, and upstreaming the canvas parts of rodos emf+ rendering
Diffstat (limited to 'canvas/source/vcl/bitmapbackbuffer.cxx')
-rw-r--r-- | canvas/source/vcl/bitmapbackbuffer.cxx | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/canvas/source/vcl/bitmapbackbuffer.cxx b/canvas/source/vcl/bitmapbackbuffer.cxx index e2e9b149ebaa..2426a70bacca 100644 --- a/canvas/source/vcl/bitmapbackbuffer.cxx +++ b/canvas/source/vcl/bitmapbackbuffer.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bitmapbackbuffer.cxx,v $ - * $Revision: 1.8 $ + * $Revision: 1.9 $ * * This file is part of OpenOffice.org. * @@ -77,18 +77,10 @@ namespace vclcanvas return *mpVDev; } - VirtualDevice& BitmapBackBuffer::getVirDev() + void BitmapBackBuffer::clear() { - createVDev(); - updateVDev(); - return *mpVDev; - } - - const VirtualDevice& BitmapBackBuffer::getVirDev() const - { - createVDev(); - updateVDev(); - return *mpVDev; + // force current content to bitmap, make all transparent white + getBitmapReference().Erase(COL_TRANSPARENT); } BitmapEx& BitmapBackBuffer::getBitmapReference() |