The pdf canvas size is 25 points x 25 points and displayed full size in the button. It contains only vector graphics.

I thought pdf would be the best thing for the simple graphics but it is hard to get it pixel perfect. Many of the paths have pixel exact boundaries within the graphics application. But when these are used in Interface Builder for a NSButton image the pdf output is inconsistent. It seems to have a mind of its own.

On Nov 29, 2008, at 4:32AM, Benjamin Dobson wrote:

Make sure the PDF is not larger than the button and that it does not contain bitmaps.

_______________________________________________

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