diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-18 22:32:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-18 22:38:41 +0300 |
commit | daaa550121a97d80e1ab43cbd5c73da6915e4ac4 (patch) | |
tree | f4842b51515bfb2c51354adb38f1b6e48839b1e9 /vcl/inc | |
parent | 8dd75128a5a7e068ae63f3d1cc6b41410f7d7122 (diff) |
Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()
Pass on to VirtualDevice where used to set the MapMode of the device
appropriately. Adapt DocumentLoader, use to scale the page rendering
to exactly fit the virtual device.
Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/virdev.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/vcl/virdev.hxx b/vcl/inc/vcl/virdev.hxx index 32a316721dcb..9a5b01d2c130 100644 --- a/vcl/inc/vcl/virdev.hxx +++ b/vcl/inc/vcl/virdev.hxx @@ -106,7 +106,7 @@ public: virtual ~VirtualDevice(); sal_Bool SetOutputSizePixel( const Size& rNewSize, sal_Bool bErase = sal_True ); - sal_Bool SetOutputSizePixelAndBuffer( const Size& rNewSize, const basebmp::RawMemorySharedArray &pBuffer ); + sal_Bool SetOutputSizePixelScaleOffsetAndBuffer( const Size& rNewSize, const Fraction& rScale, const Point& rNewOffset, const basebmp::RawMemorySharedArray &pBuffer ); sal_Bool SetOutputSize( const Size& rNewSize, sal_Bool bErase = sal_True ) { return SetOutputSizePixel( LogicToPixel( rNewSize ), bErase ); } |