Revision: 22406
          http://sourceforge.net/p/bibdesk/svn/22406
Author:   hofman
Date:     2018-07-11 21:14:27 +0000 (Wed, 11 Jul 2018)
Log Message:
-----------
make sure lines come at pixel  boundaries

Modified Paths:
--------------
    trunk/bibdesk/NSImage_BDSKExtensions.m

Modified: trunk/bibdesk/NSImage_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSImage_BDSKExtensions.m      2018-07-11 06:30:30 UTC (rev 
22405)
+++ trunk/bibdesk/NSImage_BDSKExtensions.m      2018-07-11 21:14:27 UTC (rev 
22406)
@@ -316,15 +316,15 @@
     [path lineToPoint:NSMakePoint(-2.0, 30.0)];
     [path transformUsingAffineTransform:t];
     if (annotated) {
-        [path moveToPoint:NSMakePoint(20.0, 2.0)];
-        [path lineToPoint:NSMakePoint(20.0, 12.0)];
-        [path lineToPoint:NSMakePoint(30.0, 12.0)];
-        [path lineToPoint:NSMakePoint(30.0, 5.0)];
-        [path lineToPoint:NSMakePoint(27.0, 2.0)];
+        [path moveToPoint:NSMakePoint(19.0, 1.0)];
+        [path lineToPoint:NSMakePoint(19.0, 13.0)];
+        [path lineToPoint:NSMakePoint(31.0, 13.0)];
+        [path lineToPoint:NSMakePoint(31.0, 5.0)];
+        [path lineToPoint:NSMakePoint(27.0, 1.0)];
         [path closePath];
-        [path moveToPoint:NSMakePoint(30.0, 5.0)];
+        [path moveToPoint:NSMakePoint(31.0, 5.0)];
         [path lineToPoint:NSMakePoint(27.0, 5.0)];
-        [path lineToPoint:NSMakePoint(27.0, 2.0)];
+        [path lineToPoint:NSMakePoint(27.0, 1.0)];
     }
 
     [image lockFocus];

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to