Massimo Del Fedele : gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT.
Alexandre Julliard
julliard at winehq.org
Tue Mar 31 12:19:23 CDT 2009
Module: wine
Branch: master
Commit: da6a94cd96c0593ae8aefda7d888354f7a8b07d6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=da6a94cd96c0593ae8aefda7d888354f7a8b07d6
Author: Massimo Del Fedele <max at veneto.com>
Date: Mon Mar 30 19:52:02 2009 +0200
gdi32: Fix PATH_add_outline when mapping mode != MM_TEXT.
---
dlls/gdi32/path.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/path.c b/dlls/gdi32/path.c
index 19d392f..88b7b0a 100644
--- a/dlls/gdi32/path.c
+++ b/dlls/gdi32/path.c
@@ -1353,7 +1353,6 @@ static BOOL PATH_add_outline(DC *dc, INT x, INT y, TTPOLYGONHEADER *header, DWOR
pt.x = x + int_from_fixed(header->pfxStart.x);
pt.y = y - int_from_fixed(header->pfxStart.y);
- LPtoDP(dc->hSelf, &pt, 1);
PATH_AddEntry(pPath, &pt, PT_MOVETO);
curve = (TTPOLYCURVE *)(header + 1);
@@ -1372,7 +1371,6 @@ static BOOL PATH_add_outline(DC *dc, INT x, INT y, TTPOLYGONHEADER *header, DWOR
{
pt.x = x + int_from_fixed(curve->apfx[i].x);
pt.y = y - int_from_fixed(curve->apfx[i].y);
- LPtoDP(dc->hSelf, &pt, 1);
PATH_AddEntry(pPath, &pt, PT_LINETO);
}
break;
@@ -1391,13 +1389,11 @@ static BOOL PATH_add_outline(DC *dc, INT x, INT y, TTPOLYGONHEADER *header, DWOR
pts[0].x = x + int_from_fixed(ptfx.x);
pts[0].y = y - int_from_fixed(ptfx.y);
- LPtoDP(dc->hSelf, &pts[0], 1);
for(i = 0; i < curve->cpfx; i++)
{
pts[i + 1].x = x + int_from_fixed(curve->apfx[i].x);
pts[i + 1].y = y - int_from_fixed(curve->apfx[i].y);
- LPtoDP(dc->hSelf, &pts[i + 1], 1);
}
PATH_BezierTo(pPath, pts, curve->cpfx + 1);
More information about the wine-cvs
mailing list