[Bug 11] StrokePath ignores PS_JOIN_xxx

Wine Bugs wine-bugs at winehq.org
Sat May 14 03:55:04 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=11





------- Additional Comments From felix.nawothnig at t-online.de  2005-14-05 03:55 -------
Investigated it a bit:

When StrokePath() is called MWT_IDENTITY is set since the coordinates passed to
PolyLine() in StrokePath() (or LineTo(), etc. before - it was already broken
before my patch) are already device coordinates, converted by PATH_LineTo(),
PATH_MoveTo(), etc.  since they all call LPtoDP(), but the pen width isn't ofcourse.

A quick fix is to remove all the mapping mode changes in PATH_StrokePath() and add

DPtoLP(dc->hSelf, pPath->pPoints, pPath->numEntriesUsed);

before the loop - I think that's rather hackish since I wonder if the
coordinates in pPath->pPoints should be DP anyway...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list