• 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: String Attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String Attributes


  • Subject: Re: String Attributes
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 9 Jan 2003 11:30:54 -0800

On Thursday, January 9, 2003, at 12:05 AM, Codein wrote:

When creating various attributes to apply to a string that you draw by calling drawAtPoint:, can you set a attribute that stretches the string taller rather than wider or vise-versa? Or do I use drawAtRect: to achieve this?

Depending on what you mean, you can do this by (a) changing the CTM, or (b) changing the line height, line spacing, and/or kerning attributes.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >String Attributes (From: Codein <email@hidden>)

  • Prev by Date: Re: Crash with NSMutableArray and NSNumber
  • Next by Date: Key event in the background
  • Previous by thread: Re: String Attributes
  • Next by thread: Getting notified when the contents of the pasteboard changes (again)
  • Index(es):
    • Date
    • Thread