diff options
author | Thorsten Behrens <thb@openoffice.org> | 2002-11-07 15:55:34 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2002-11-07 15:55:34 +0000 |
commit | 6fa64dd518503708ff743acbe1aec1668f4e27aa (patch) | |
tree | 20af68519302876674d0d40a7f9ebc46a0900330 /svx/source/svdraw/svdobj.cxx | |
parent | 2351ce656d50da13a805604d59c4afa5a69c0a1a (diff) |
#104609# Always paint the tiled bitmap at (0,0) into the VDev
Diffstat (limited to 'svx/source/svdraw/svdobj.cxx')
-rw-r--r-- | svx/source/svdraw/svdobj.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index f7f3de0ee21c..db8e565473a5 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdobj.cxx,v $ * - * $Revision: 1.52 $ + * $Revision: 1.53 $ * - * last change: $Author: thb $ $Date: 2002-11-07 14:42:25 $ + * last change: $Author: thb $ $Date: 2002-11-07 16:55:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -509,7 +509,9 @@ ImpGraphicFill::ImpGraphicFill( const SdrObject& rObj, aXOut.SetLineAttr( aEmptySet ); // render into VDev - aXOut.DrawRect( aPolyRect ); + Rectangle aOutRect( aPolyRect ); + aOutRect.SetPos( Point(0,0) ); + aXOut.DrawRect( aOutRect ); // TODO: extract first 2x2 tiles (to cope with the offset variations), instead of the whole content Size aBmpSize( aVDev.GetOutputSize() ); |