From daaa550121a97d80e1ab43cbd5c73da6915e4ac4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 18 Jun 2012 22:32:35 +0300 Subject: 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 --- offapi/com/sun/star/awt/XToolkit2.idl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'offapi') diff --git a/offapi/com/sun/star/awt/XToolkit2.idl b/offapi/com/sun/star/awt/XToolkit2.idl index c174d2787c4b..1c5327c6c69f 100644 --- a/offapi/com/sun/star/awt/XToolkit2.idl +++ b/offapi/com/sun/star/awt/XToolkit2.idl @@ -36,7 +36,11 @@ interface XToolkit2: XToolkit com::sun::star::awt::XDevice createScreenCompatibleDeviceUsingBuffer( [in] long Width, [in] long Height, - [in] hyper addressOfMemoryBufferForSharedArrayWrapper ); + [in] long ScaleNumerator, + [in] long ScaleDenominator, + [in] long XOffset, + [in] long YOffset, + [in] hyper AddressOfMemoryBufferForSharedArrayWrapper ); }; }; }; }; }; -- cgit