FROM : Douglas Davidson
DATE : Thu Jan 09 20:30:54 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Jan 09 20:30:54 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Codein | Jan 9, 09:05 | |
| Douglas Davidson | Jan 9, 20:30 | |
| Andreas Mayer | Jan 9, 23:54 | |
| Timothy Larkin | Jan 10, 14:51 |






Cocoa mail archive

