Revision: 5493
http://skim-app.svn.sourceforge.net/skim-app/?rev=5493&view=rev
Author: hofman
Date: 2009-07-17 11:16:32 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
correct clicked drag handle for line notes
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2009-07-17 09:06:37 UTC (rev 5492)
+++ trunk/SKPDFView.m 2009-07-17 11:16:32 UTC (rev 5493)
@@ -385,9 +385,9 @@
CGPathRelease(path);
} else if ([[activeAnnotation type] isEqualToString:SKNLineString]) {
NSPoint point = SKAddPoints(bounds.origin, [(PDFAnnotationLine
*)activeAnnotation startPoint]);
+ SKCGContextDrawGrabHandle(context, NSPointToCGPoint(point), 4.0,
dragMask == BDSKMinXEdgeMask);
+ point = SKAddPoints(bounds.origin, [(PDFAnnotationLine
*)activeAnnotation endPoint]);
SKCGContextDrawGrabHandle(context, NSPointToCGPoint(point), 4.0,
dragMask == BDSKMaxXEdgeMask);
- point = SKAddPoints(bounds.origin, [(PDFAnnotationLine
*)activeAnnotation endPoint]);
- SKCGContextDrawGrabHandle(context, NSPointToCGPoint(point), 4.0,
dragMask == BDSKMinXEdgeMask);
} else if (editField == nil) {
CGFloat color[4] = { 0.278477, 0.467857, 0.810941, 1.0 };
CGContextSetStrokeColor(context, color);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit