diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-14 21:54:19 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-14 22:03:47 +0300 |
commit | c64156a11ffb568b652e44205a0476e5a9a34210 (patch) | |
tree | efa24daf92ff0f941df93884b8bed071ad4aec5b /vcl/source | |
parent | 55e8343aef369d0fb8ec7460ddeb35425e9cc9bd (diff) |
Add note where scaling and offsetting could/should be added
Change-Id: I7adafa165a4724b0e193288d69c4c3f3815f11b2
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index 6c6281962e91..93aec4fd94e1 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -370,6 +370,14 @@ sal_Bool VirtualDevice::SetOutputSizePixel( const Size& rNewSize, sal_Bool bEras sal_Bool VirtualDevice::SetOutputSizePixelAndBuffer( const Size& rNewSize, const basebmp::RawMemorySharedArray &pBuffer ) { + // Is this the place to put in scaling and offsetting, passed in as parameters from createScreenCompatibleDeviceUsingBuffer? + // Bogus test just to see that something happens: + // if (pBuffer) { + // MapMode mm = GetMapMode(); + // mm.SetScaleX(Fraction(4, 1)); + // mm.SetScaleY(Fraction(4, 1)); + // SetMapMode(mm); + //} return ImplSetOutputSizePixel( rNewSize, sal_True, pBuffer); } |