summaryrefslogtreecommitdiff
path: root/vcl/headless/svptext.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2011-11-02 23:36:36 +0100
committerThorsten Behrens <tbehrens@suse.com>2011-11-02 23:58:28 +0100
commit1e297aef53ec79e2905cb9ca57d649b82bc3938d (patch)
treef5ec93d4b92881eb59ed50c2aee7200e25e5cbd2 /vcl/headless/svptext.cxx
parentaeee94cb587082430f3a277a24ae459829f6d384 (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 'vcl/headless/svptext.cxx')
-rw-r--r--vcl/headless/svptext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx
index 866a49f70d91..ff649a1ce454 100644
--- a/vcl/headless/svptext.cxx
+++ b/vcl/headless/svptext.cxx
@@ -27,7 +27,7 @@
************************************************************************/
#include <basegfx/range/b2drange.hxx>
-#include <basegfx/range/b2irange.hxx>
+#include <basegfx/range/b2ibox.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basebmp/scanlineformats.hxx>
@@ -532,8 +532,8 @@ void SvpSalGraphics::DrawServerFontLayout( const ServerFontLayout& rSalLayout )
continue;
// blend text color into target using the glyph's mask
- const B2IRange aSrcRect( B2ITuple(0,0), aAlphaMask->getSize() );
- const B2IRange aClipRect( aDstPoint, aAlphaMask->getSize() );
+ const B2IBox aSrcRect( B2ITuple(0,0), aAlphaMask->getSize() );
+ const B2IBox aClipRect( aDstPoint, aAlphaMask->getSize() );
SvpSalGraphics::ClipUndoHandle aUndo( this );
if( !isClippedSetup( aClipRect, aUndo ) )