I know about how to use UIKit's

     -(UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth
topCapHeight:(NSInteger)topCapHeight

to stretch a PNG smoothly, e.g when inserting text in an iChat like bubble.
 I would like to do the same on regular AppKit/Cocoa/desktop app using
CoreGraphics or some NSImage related API but couldn't find an equivalent
method.  Does anybody know how to do this in AppKit?

Ref:
http://stackoverflow.com/questions/663435/implement-view-like-standard-iphone-sms-chat-bubbles-view

Thanks,

John Wright
_______________________________________________

Cocoa-dev mailing list ([email protected])

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