summaryrefslogtreecommitdiff
path: root/basebmp/test/bmpdemo.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2006-06-07 13:27:36 +0000
committerThorsten Behrens <thb@openoffice.org>2006-06-07 13:27:36 +0000
commit4999aa5c72de27ffd28944a2f56d68933ce1ee52 (patch)
tree2dd7c12c96b8cc9e33e5893e0b46878d1223fb83 /basebmp/test/bmpdemo.cxx
parent0ef3a9bf3418c03f350df5f91c9c623018c715cb (diff)
#i65904# Finished xor and mask support; corrected Color handling
Diffstat (limited to 'basebmp/test/bmpdemo.cxx')
-rw-r--r--basebmp/test/bmpdemo.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/basebmp/test/bmpdemo.cxx b/basebmp/test/bmpdemo.cxx
index 99e9a5b14464..a35a36201187 100644
--- a/basebmp/test/bmpdemo.cxx
+++ b/basebmp/test/bmpdemo.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: bmpdemo.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: thb $ $Date: 2006-06-02 13:57:25 $
+ * last change: $Author: thb $ $Date: 2006-06-07 14:27:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1012,6 +1012,11 @@ void TestWindow::Paint( const Rectangle& rRect )
basegfx::tools::importFromSvgD( aPoly, aSvg );
const basebmp::Color aCol(0xFFFFFFFF);
pBmp->clear(basebmp::Color(0));
+
+ const basegfx::B2IPoint aPt(3,3);
+ const basebmp::Color aCol4(0x01);
+ pBmp->setPixel( aPt, aCol4, basebmp::DrawMode_PAINT );
+
pBmp->fillPolyPolygon(
aPoly,
aCol,