vcl/win/source/gdi/salgdi_gdiplus.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
New commits: commit 77df50a8c4cf4d4cfc7385ae162c0d4faf8dd821 Author: Fridrich Å trba <fridrich.st...@bluewin.ch> Date: Tue Jun 18 12:00:16 2013 +0200 The original code was doing exactly this, so let me mimic it Change-Id: I04f4a783b0edb6a1f8701cd5da323e6a9ab5441d diff --git a/vcl/win/source/gdi/salgdi_gdiplus.cxx b/vcl/win/source/gdi/salgdi_gdiplus.cxx index 1509f48..2020ddc 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); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits