[AQT-commit] CVS: aquaterm AQTGraphicDrawingMethods.m,1.17,1.18
Brought to you by:
persquare
From: Per P. <per...@us...> - 2004-05-22 15:28:31
|
Update of /cvsroot/aquaterm/aquaterm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10804 Modified Files: AQTGraphicDrawingMethods.m Log Message: Closing holes in surfaces (between filled areas). I don't understand the cause of this problem, could be numerical. Index: AQTGraphicDrawingMethods.m =================================================================== RCS file: /cvsroot/aquaterm/aquaterm/AQTGraphicDrawingMethods.m,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- AQTGraphicDrawingMethods.m 30 Mar 2004 09:13:02 -0000 1.17 +++ AQTGraphicDrawingMethods.m 22 May 2004 15:28:20 -0000 1.18 @@ -379,7 +379,7 @@ [scratch appendBezierPathWithPoints:path count:pointCount]; [scratch setLineJoinStyle:NSRoundLineJoinStyle]; [scratch setLineCapStyle:lineCapStyle]; - [scratch setLineWidth:linewidth]; + [scratch setLineWidth:[self isFilled]?1.0:linewidth]; if([self isFilled]) { [scratch closePath]; |