[PATCH 2/2] gdi32: fix for rotated Arc, ArcTo, Chord and Pie drawing problem

Ralf Habacker ralf.habacker at freenet.de
Tue Sep 24 09:10:01 CDT 2013


Fix drawing of line from the current position to the starting point of
the arc in GM_ADVANCED graphics mode.

The public accessable current position is always untransformed and
cannot follow required remapping on world
transformation changes set by SetWorldTransform(), which is required by
ArcTo().

Because of that an 'internal current position' variable has been
introduced, which follows the mentioned remapping.

BUG: http://bugs.winehq.org/show_bug.cgi?id=34115
---
 dlls/gdi32/dc.c              |   41
+++++++++++++++++++++++++++++++++--------
 dlls/gdi32/dibdrv/graphics.c |    5 ++---
 dlls/gdi32/gdi_private.h     |    5 +++--
 dlls/gdi32/painting.c        |   27 +++++++++++++--------------
 4 Dateien geändert, 51 Zeilen hinzugefügt(+), 27 Zeilen entfernt(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-gdi32-Fix-drawing-of-line-from-the-current-position-.patch
Type: text/x-patch
Size: 7904 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130924/c002a1c0/attachment.bin>


More information about the wine-patches mailing list