- [UIImage draw9PartImage:inRect:] equivalent in Cocoa/Quartz?
- [UIImage draw9PartImage:inRect:] equivalent in Cocoa/Quartz?
- Subject: - [UIImage draw9PartImage:inRect:] equivalent in Cocoa/Quartz?
- From: Todd Ditchendorf <email@hidden>
- Date: Tue, 5 Feb 2008 16:24:41 -0800
The UIImage class in UIKit has a wonderful collection of methods for
programatically slicing a single small sample image into 3 or 9
parts and stretching the middle parts allowing very simple rounded
rect effects.
http://ericasadun.com/iPhoneDocs113/interface_u_i_image.html
This capability has also recently been added to WebKit's CSS support
via -webkit-border-image I believe.
My question: Is there any similar method or function available to
Cocoa on the desktop? Either a cocoa method or a function in the
Quartz APIs, or elsewhere?
thanks!
todd
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden