From 77df50a8c4cf4d4cfc7385ae162c0d4faf8dd821 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Tue, 18 Jun 2013 12:00:16 +0200 Subject: The original code was doing exactly this, so let me mimic it Change-Id: I04f4a783b0edb6a1f8701cd5da323e6a9ab5441d --- vcl/win/source/gdi/salgdi_gdiplus.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'vcl') diff --git a/vcl/win/source/gdi/salgdi_gdiplus.cxx b/vcl/win/source/gdi/salgdi_gdiplus.cxx index 1509f48847e1..2020ddc6f60c 100644 --- a/vcl/win/source/gdi/salgdi_gdiplus.cxx +++ b/vcl/win/source/gdi/salgdi_gdiplus.cxx @@ -205,13 +205,7 @@ bool WinSalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly Gdiplus::REAL aDpiY; Gdiplus::DllExports::GdipGetDpiY(pGraphics, &aDpiY); - // test code to check the current transformation at the graphics device - //Gdiplus::GpMatrix *pMatrix = NULL; - //Gdiplus::DllExports::GdipGetWorldTransform(pGraphics, pMatrix); - //Gdiplus::REAL elements[6]; - //Gdiplus::DllExports::GdipGetMatrixElements(pMatrix, elements); - //Gdiplus::DllExports::GdipDeleteMatrix(pMatrix); - + Gdiplus::DllExports::GdipResetWorldTransform(pGraphics); Gdiplus::DllExports::GdipScaleWorldTransform(pGraphics, Gdiplus::REAL(100.0) / aDpiX, Gdiplus::REAL(100.0) / aDpiY, Gdiplus::MatrixOrderAppend); } -- cgit