summaryrefslogtreecommitdiff
path: root/basebmp/test/cliptest.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2006-07-13 11:03:26 +0000
committerThorsten Behrens <thb@openoffice.org>2006-07-13 11:03:26 +0000
commit0177db3f91a28995ca151b63d054cd539cd27212 (patch)
tree9df894e22693545534b5941067f821610eb40de2 /basebmp/test/cliptest.cxx
parent3583a216e8101fe4d0f17f913c2efcab58f9b518 (diff)
#i65904# Swapped mask polarity - now, a zero in the mask denotes opacity; minor code tidying; made drawMaskedBitmap() handle a few more generic cases; switched 24bpp to BGR; adapted tests to modified mask polarity
Diffstat (limited to 'basebmp/test/cliptest.cxx')
-rw-r--r--basebmp/test/cliptest.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basebmp/test/cliptest.cxx b/basebmp/test/cliptest.cxx
index 38e6797c13c1..eec3dd1bf339 100644
--- a/basebmp/test/cliptest.cxx
+++ b/basebmp/test/cliptest.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cliptest.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: thb $ $Date: 2006-07-12 22:47:21 $
+ * last change: $Author: thb $ $Date: 2006-07-13 12:03:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -208,10 +208,10 @@ public:
"m 0 0 h5 l5 5 v5 h-5 l-5-5 z" );
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly, aSvg );
- mpClipMask->clear(Color(0xFFFFFFFF));
+ mpClipMask->clear(Color(0));
mpClipMask->drawPolygon(
aPoly.getB2DPolygon(0),
- Color(0),
+ Color(0xFFFFFFFF),
DrawMode_PAINT );
}