summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-06-14 21:54:19 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-06-14 22:03:47 +0300
commitc64156a11ffb568b652e44205a0476e5a9a34210 (patch)
treeefa24daf92ff0f941df93884b8bed071ad4aec5b /vcl/source
parent55e8343aef369d0fb8ec7460ddeb35425e9cc9bd (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.cxx8
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);
}