Revision: 3480
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3480&view=rev
Author:   hofman
Date:     2008-03-14 08:49:52 -0700 (Fri, 14 Mar 2008)

Log Message:
-----------
Draw nothing in line well for zero line width.

Modified Paths:
--------------
    trunk/SKLineWell.m

Modified: trunk/SKLineWell.m
===================================================================
--- trunk/SKLineWell.m  2008-03-14 15:38:29 UTC (rev 3479)
+++ trunk/SKLineWell.m  2008-03-14 15:49:52 UTC (rev 3480)
@@ -302,8 +302,8 @@
     [[NSBezierPath bezierPathWithRect:rect] addClip];
     
     [[NSColor blackColor] setStroke];
-    [NSBezierPath setDefaultLineWidth:1.0];
-    [[self path] stroke];
+    if (lineWidth > 0.0)
+        [[self path] stroke];
     
     [NSGraphicsContext restoreGraphicsState];
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to