Revision: 18408
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18408&view=rev
Author:   hofman
Date:     2012-01-16 10:09:59 +0000 (Mon, 16 Jan 2012)
Log Message:
-----------
convert NSRect to CGRect

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2012-01-15 
22:03:24 UTC (rev 18407)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2012-01-16 
10:09:59 UTC (rev 18408)
@@ -2441,7 +2441,7 @@
 
         // only draw the dirty part, but we need to use the full view bounds 
as the gradient extent
         CGContextSaveGState(ctxt);
-        CGContextClipToRect(ctxt, rect);
+        CGContextClipToRect(ctxt, NSRectToCGRect(rect));
         const NSRect bounds = [self bounds];
         CGContextDrawLinearGradient(ctxt, gradient, CGPointMake(0, 
NSMaxY(bounds)), CGPointMake(0, NSMinY(bounds)), 0);
         CGContextRestoreGState(ctxt);

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


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to