Hi, On Sun, 22 Oct 2000, Francois Gouget wrote: > Still in the same series. The center lines drawn by the endjoin > example of the 95 Petzold were too thick. The problem appears to be that > the thickness of BLACK_PEN was 1 instead of 0 so that its thickness was > being scaled. I believe the thickness of stock pens should be 0 so that > they are not scaled. It certainly fixed the problem in endjoin. > > Changelog: > > * objects/gdiobj.c > Set the thickness of stock pens to 0 so that they are not scaled I noticed that this patch I sent last week was not applied. Is something wrong with it? -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ The greatest programming project of all took six days; on the seventh day the programmer rested. We've been trying to debug the *&^%$#@ thing ever since. Resume: design before you implement.
Index: objects/gdiobj.c =================================================================== RCS file: /home/wine/wine/objects/gdiobj.c,v retrieving revision 1.37 diff -u -r1.37 gdiobj.c --- objects/gdiobj.c 2000/09/16 20:53:52 1.37 +++ objects/gdiobj.c 2000/10/22 06:39:58 @@ -82,19 +82,19 @@ static PENOBJ WhitePen = { { 0, PEN_MAGIC, 1 }, /* header */ - { PS_SOLID, { 1, 0 }, RGB(255,255,255) } /* logpen */ + { PS_SOLID, { 0, 0 }, RGB(255,255,255) } /* logpen */ }; static PENOBJ BlackPen = { { 0, PEN_MAGIC, 1 }, /* header */ - { PS_SOLID, { 1, 0 }, RGB(0,0,0) } /* logpen */ + { PS_SOLID, { 0, 0 }, RGB(0,0,0) } /* logpen */ }; static PENOBJ NullPen = { { 0, PEN_MAGIC, 1 }, /* header */ - { PS_NULL, { 1, 0 }, 0 } /* logpen */ + { PS_NULL, { 0, 0 }, 0 } /* logpen */ }; static FONTOBJ OEMFixedFont =