On Oct 23, 2008, at 7:53 PM, Jason Coco wrote:

On Oct 23, 2008, at 21:20 , Randall Meadows wrote:

The custom drawing doesn't fill up all the contents of the bounds of the view. Specifically, a black border is left around the outside of where I'm drawing. You can view a snapshot of what I'm talking about at <http://www.not-pc.com/ViewBorder.png> (that's the top-right corner of the custom view); the blue is the background, the gray is the contents of the view I'm drawing, and the black is what I'd like to get rid of (the blue background should show through).


How are you compositing the image when you're drawing it to the view?


Bah, "incorrectly", apparently. Using the right compositing mode (NSCompositeSourceOver instead of NSCompositeCopy--DOH!) fixed it right up. Thanks for the whack upon the noggin.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to