Revision: 5887
http://skim-app.svn.sourceforge.net/skim-app/?rev=5887&view=rev
Author: hofman
Date: 2009-10-15 19:57:17 +0000 (Thu, 15 Oct 2009)
Log Message:
-----------
use floats for constants
Modified Paths:
--------------
trunk/NSImage_SKExtensions.m
Modified: trunk/NSImage_SKExtensions.m
===================================================================
--- trunk/NSImage_SKExtensions.m 2009-10-15 19:52:47 UTC (rev 5886)
+++ trunk/NSImage_SKExtensions.m 2009-10-15 19:57:17 UTC (rev 5887)
@@ -1872,19 +1872,19 @@
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationNone];
[NSGraphicsContext saveGraphicsState];
[[NSColor whiteColor] set];
- [[NSBezierPath bezierPathWithRect:NSMakeRect(0, 2, 16, 11)] fill];
+ [[NSBezierPath bezierPathWithRect:NSMakeRect(0.0, 2.0, 16.0, 11.0)] fill];
[[NSBezierPath bezierPathWithOvalInRect:NSMakeRect(3.7, 6.7, 8.6, 8.6)]
fill];
[NSGraphicsContext restoreGraphicsState];
[NSGraphicsContext saveGraphicsState];
[[NSColor blackColor] set];
- [[NSBezierPath bezierPathWithRect:NSMakeRect(1, 3, 14, 9)] fill];
+ [[NSBezierPath bezierPathWithRect:NSMakeRect(1.0, 3.0, 14.0, 9.0)] fill];
[[NSBezierPath bezierPathWithOvalInRect:NSMakeRect(5, 8, 6, 6)] fill];
[NSGraphicsContext restoreGraphicsState];
[NSGraphicsContext saveGraphicsState];
[[NSColor whiteColor] set];
[[NSBezierPath bezierPathWithOvalInRect:NSMakeRect(4.3, 4.3, 7.4, 7.4)]
stroke];
path = [NSBezierPath bezierPath];
- [path appendBezierPathWithArcWithCenter:NSMakePoint(8, 8) radius:1.8
startAngle:45 endAngle:225];
+ [path appendBezierPathWithArcWithCenter:NSMakePoint(8.0, 8.0) radius:1.8
startAngle:45.0 endAngle:225.0];
[path closePath];
[path fill];
[NSGraphicsContext restoreGraphicsState];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit