• 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
Re: Drawing text like Lion's Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing text like Lion's Mail


  • Subject: Re: Drawing text like Lion's Mail
  • From: David Duncan <email@hidden>
  • Date: Mon, 8 Aug 2011 09:50:46 -0700

On Aug 8, 2011, at 8:16 AM, Jean-Daniel Dupas wrote:

>
> I think you can create a CGPath from some text using CTFrameGetPath().
> Once you get the path, you can do whatever you want (clipping, shadow, gradient, …).


CTFrameGetPath() returns the path used to create the frame, typically a rectangle, not a path that describes the text therein.
--
David Duncan

_______________________________________________

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: Drawing text like Lion's Mail
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Drawing text like Lion's Mail (From: Andre Masse <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Jens Alfke <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Andre Masse <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Thomas Davie <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Andre Masse <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Durango <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Andre Masse <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Siegfried <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Andre Masse <email@hidden>)
 >Re: Drawing text like Lion's Mail (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Core Data : User missing inverse relationship despite model settings
  • Next by Date: NSCoding to/from JSON?
  • Previous by thread: Re: Drawing text like Lion's Mail
  • Next by thread: Re: Drawing text like Lion's Mail
  • Index(es):
    • Date
    • Thread