Revision: 3163
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3163&view=rev
Author:   hofman
Date:     2007-11-06 03:39:53 -0800 (Tue, 06 Nov 2007)

Log Message:
-----------
Set line width of path rather than changing the graphics context.

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

Modified: trunk/NSImage_SKExtensions.m
===================================================================
--- trunk/NSImage_SKExtensions.m        2007-11-06 11:37:15 UTC (rev 3162)
+++ trunk/NSImage_SKExtensions.m        2007-11-06 11:39:53 UTC (rev 3163)
@@ -329,7 +329,6 @@
     [[NSGraphicsContext currentContext] saveGraphicsState];
     [shadow set];
     [color setStroke];
-    [NSBezierPath setDefaultLineWidth:2.0];
     path = [NSBezierPath bezierPath];
     [path moveToPoint:NSMakePoint(8.0, 3.0)];
     [path lineToPoint:NSMakePoint(13.0, 3.0)];
@@ -337,6 +336,7 @@
     [path lineToPoint:NSMakePoint(17.0, 7.0)];
     [path moveToPoint:NSMakePoint(8.0, 11.0)];
     [path lineToPoint:NSMakePoint(19.0, 11.0)];
+    [path setLineWidth:2.0];
     [path stroke];
     [[NSGraphicsContext currentContext] restoreGraphicsState];
     [groupedFindViewAdornImage unlockFocus];


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to