Revision: 4650
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4650&view=rev
Author:   hofman
Date:     2008-09-17 12:51:29 +0000 (Wed, 17 Sep 2008)

Log Message:
-----------
use round line cap and join style for temporary path when drawing a freehand 
note, as that's what PDFAnnotationInk uses.

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-09-17 11:56:59 UTC (rev 4649)
+++ trunk/SKPDFView.m   2008-09-17 12:51:29 UTC (rev 4650)
@@ -3127,6 +3127,8 @@
         
         BOOL didDraw = NO;
         bezierPath = [[NSBezierPath alloc] init];
+        [bezierPath setLineCapStyle:NSRoundLineCapStyle];
+        [bezierPath setLineJoinStyle:NSRoundLineJoinStyle];
         [bezierPath setLineWidth:[[NSUserDefaults standardUserDefaults] 
floatForKey:SKInkNoteLineWidthKey]];
         [bezierPath moveToPoint:pagePoint];
         pathPageIndex = [page pageIndex];


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to