• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
- [UIImage draw9PartImage:inRect:] equivalent in Cocoa/Quartz?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

- [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


  • Follow-Ups:
    • Re: - [UIImage draw9PartImage:inRect:] equivalent in Cocoa/Quartz?
      • From: Vince DeMarco <email@hidden>
  • Prev by Date: Re: Core Data, NSURLProtocol and Threads - A Case of Missing Managed Objects
  • Next by Date: Re: [[NSGarbageCollector defaultCollector] isEnabled] wrong?
  • Previous by thread: Re: Core Data, NSURLProtocol and Threads - A Case of Missing Managed Objects
  • Next by thread: Re: - [UIImage draw9PartImage:inRect:] equivalent in Cocoa/Quartz?
  • Index(es):
    • Date
    • Thread