Skip navigation.
 
mlRe: String Attributes
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.

Related mailsAuthorDate
mlString Attributes Codein Jan 9, 09:05
mlRe: String Attributes Douglas Davidson Jan 9, 20:30
mlRe: String Attributes Andreas Mayer Jan 9, 23:54
mlRe: String Attributes Timothy Larkin Jan 10, 14:51