Revision: 12385
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12385&view=rev
Author: amaxwell
Date: 2008-01-08 22:32:49 -0800 (Tue, 08 Jan 2008)
Log Message:
-----------
Unset shadow before composing icon.
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVQLIcon.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVQLIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVQLIcon.m 2008-01-09
06:10:20 UTC (rev 12384)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVQLIcon.m 2008-01-09
06:32:49 UTC (rev 12385)
@@ -198,6 +198,8 @@
CGContextSaveGState(context);
CGContextSetRGBFillColor(context, 1.0, 1.0, 1.0, 1.0);
CGContextFillRect(context, drawRect);
+ // clear the shadow; clipping won't quite eliminate it
+ CGContextSetShadowWithColor(context, CGSizeZero, 0, NULL);
drawRect = CGRectInset(drawRect, CGRectGetWidth(drawRect) / 20,
CGRectGetHeight(drawRect) / 20);
CGContextClipToRect(context, drawRect);
CGContextDrawImage(context, drawRect, image);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit