diff options
Diffstat (limited to 'vcl/source/outdev/clipping.cxx')
-rw-r--r-- | vcl/source/outdev/clipping.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/outdev/clipping.cxx b/vcl/source/outdev/clipping.cxx index 9396f262362b..5b6d71d4a3f1 100644 --- a/vcl/source/outdev/clipping.cxx +++ b/vcl/source/outdev/clipping.cxx @@ -103,13 +103,13 @@ void OutputDevice::MoveClipRegion( long nHorzMove, long nVertMove ) mpAlphaVDev->MoveClipRegion( nHorzMove, nVertMove ); } -void OutputDevice::IntersectClipRegion( const Rectangle& rRect ) +void OutputDevice::IntersectClipRegion( const tools::Rectangle& rRect ) { if ( mpMetaFile ) mpMetaFile->AddAction( new MetaISectRectClipRegionAction( rRect ) ); - Rectangle aRect = LogicToPixel( rRect ); + tools::Rectangle aRect = LogicToPixel( rRect ); maRegion.Intersect( aRect ); mbClipRegion = true; mbInitClipRegion = true; @@ -157,7 +157,7 @@ void OutputDevice::InitClipRegion() // Perform actual rect clip against outdev // dimensions, to generate empty clips whenever one of the // values is completely off the device. - Rectangle aDeviceBounds( mnOutOffX, mnOutOffY, + tools::Rectangle aDeviceBounds( mnOutOffX, mnOutOffY, mnOutOffX+GetOutputWidthPixel()-1, mnOutOffY+GetOutputHeightPixel()-1 ); aRegion.Intersect( aDeviceBounds ); @@ -195,7 +195,7 @@ vcl::Region OutputDevice::GetActiveClipRegion() const return GetClipRegion(); } -void OutputDevice::ClipToPaintRegion(Rectangle& /*rDstRect*/) +void OutputDevice::ClipToPaintRegion(tools::Rectangle& /*rDstRect*/) { // this is only used in Window, but we still need it as it's called // on in other clipping functions |