Kaydet (Commit) 77df50a8 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

The original code was doing exactly this, so let me mimic it

Change-Id: I04f4a783b0edb6a1f8701cd5da323e6a9ab5441d
üst 1b3a39bf
...@@ -205,13 +205,7 @@ bool WinSalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly ...@@ -205,13 +205,7 @@ bool WinSalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly
Gdiplus::REAL aDpiY; Gdiplus::REAL aDpiY;
Gdiplus::DllExports::GdipGetDpiY(pGraphics, &aDpiY); Gdiplus::DllExports::GdipGetDpiY(pGraphics, &aDpiY);
// test code to check the current transformation at the graphics device Gdiplus::DllExports::GdipResetWorldTransform(pGraphics);
//Gdiplus::GpMatrix *pMatrix = NULL;
//Gdiplus::DllExports::GdipGetWorldTransform(pGraphics, pMatrix);
//Gdiplus::REAL elements[6];
//Gdiplus::DllExports::GdipGetMatrixElements(pMatrix, elements);
//Gdiplus::DllExports::GdipDeleteMatrix(pMatrix);
Gdiplus::DllExports::GdipScaleWorldTransform(pGraphics, Gdiplus::REAL(100.0) / aDpiX, Gdiplus::REAL(100.0) / aDpiY, Gdiplus::MatrixOrderAppend); Gdiplus::DllExports::GdipScaleWorldTransform(pGraphics, Gdiplus::REAL(100.0) / aDpiX, Gdiplus::REAL(100.0) / aDpiY, Gdiplus::MatrixOrderAppend);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment