Don't try to compensate for LineTo() not drawing the end pixel. It causes
2003-03-09 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to compensate for LineTo() not drawing the end pixel. It causes more harm than benefits, see bug #81895.
This commit is contained in:
parent
3db24eb81c
commit
ae90aab7ff
@ -1,3 +1,9 @@
|
||||
2003-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
|
||||
compensate for LineTo() not drawing the end pixel. It causes more
|
||||
harm than benefits, see bug #81895.
|
||||
|
||||
2003-03-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Bug #107664 continued:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
|
||||
compensate for LineTo() not drawing the end pixel. It causes more
|
||||
harm than benefits, see bug #81895.
|
||||
|
||||
2003-03-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Bug #107664 continued:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
|
||||
compensate for LineTo() not drawing the end pixel. It causes more
|
||||
harm than benefits, see bug #81895.
|
||||
|
||||
2003-03-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Bug #107664 continued:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
|
||||
compensate for LineTo() not drawing the end pixel. It causes more
|
||||
harm than benefits, see bug #81895.
|
||||
|
||||
2003-03-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Bug #107664 continued:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-03-09 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
|
||||
compensate for LineTo() not drawing the end pixel. It causes more
|
||||
harm than benefits, see bug #81895.
|
||||
|
||||
2003-03-08 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
Bug #107664 continued:
|
||||
|
@ -1214,18 +1214,14 @@ draw_segments (GdkGCWin32 *gcwin32,
|
||||
}
|
||||
else
|
||||
GDI_CALL (MoveToEx, (hdc, segs[i].x1, segs[i].y1, NULL)) &&
|
||||
GDI_CALL (LineTo, (hdc, segs[i].x2, segs[i].y2)) &&
|
||||
(gcwin32->pen_width <= 1 &&
|
||||
GDI_CALL (LineTo, (hdc, segs[i].x2 + 1, segs[i].y2 + 1)));
|
||||
GDI_CALL (LineTo, (hdc, segs[i].x2, segs[i].y2));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < nsegs; i++)
|
||||
GDI_CALL (MoveToEx, (hdc, segs[i].x1, segs[i].y1, NULL)) &&
|
||||
GDI_CALL (LineTo, (hdc, segs[i].x2, segs[i].y2)) &&
|
||||
(gcwin32->pen_width <= 1 &&
|
||||
GDI_CALL (LineTo, (hdc, segs[i].x2 + 1, segs[i].y2 + 1)));
|
||||
GDI_CALL (LineTo, (hdc, segs[i].x2, segs[i].y2));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user