diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-18 12:00:16 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-18 12:00:52 +0200 |
commit | 77df50a8c4cf4d4cfc7385ae162c0d4faf8dd821 (patch) | |
tree | a9da51e5d777f161d6c878528a8fa9bf4d06781b /vcl | |
parent | 1b3a39bfa10177aed40a4a9a69d0fe1970229422 (diff) |
The original code was doing exactly this, so let me mimic it
Change-Id: I04f4a783b0edb6a1f8701cd5da323e6a9ab5441d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salgdi_gdiplus.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
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); } |