diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2011-11-02 23:36:36 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-11-02 23:58:28 +0100 |
commit | 1e297aef53ec79e2905cb9ca57d649b82bc3938d (patch) | |
tree | f5ec93d4b92881eb59ed50c2aee7200e25e5cbd2 /basebmp/test/bmpmasktest.cxx | |
parent | aeee94cb587082430f3a277a24ae459829f6d384 (diff) |
Move BitmapDevice to use B2IBox instead of B2IRange.
Semantically, B2IBox represents a pixel rect much better than
B2IRange - replaced all occurences in and around the software
renderer, and client code.
Diffstat (limited to 'basebmp/test/bmpmasktest.cxx')
-rw-r--r-- | basebmp/test/bmpmasktest.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basebmp/test/bmpmasktest.cxx b/basebmp/test/bmpmasktest.cxx index 755128b303f1..e44aaeda0c8f 100644 --- a/basebmp/test/bmpmasktest.cxx +++ b/basebmp/test/bmpmasktest.cxx @@ -36,7 +36,7 @@ #include "cppunit/extensions/HelperMacros.h" #include <basegfx/vector/b2isize.hxx> -#include <basegfx/range/b2irange.hxx> +#include <basegfx/range/b2ibox.hxx> #include <basegfx/point/b2ipoint.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> @@ -67,8 +67,8 @@ private: rDevice->clear(Color(0)); const Color aCol(0xFFFFFFFF); - const basegfx::B2IRange aSourceRect(0,0,10,10); - const basegfx::B2IRange aDestAll(0,0,10,10); + const basegfx::B2IBox aSourceRect(0,0,10,10); + const basegfx::B2IBox aDestAll(0,0,10,10); rDevice->drawMaskedBitmap( rBmp, @@ -86,8 +86,8 @@ private: rDevice->clear(Color(0)); const Color aCol(0xFFFFFFFF); - const basegfx::B2IRange aSourceRect(0,0,10,10); - const basegfx::B2IRange aDestLeftTop(0,0,6,6); + const basegfx::B2IBox aSourceRect(0,0,10,10); + const basegfx::B2IBox aDestLeftTop(0,0,6,6); rDevice->drawMaskedBitmap( rBmp, |