Re: CGContextShowTextAtPoint
Re: CGContextShowTextAtPoint
- Subject: Re: CGContextShowTextAtPoint
- From: "Raglan T. Tiger" <email@hidden>
- Date: Wed, 14 Oct 2015 09:54:37 -0600
> On Oct 13, 2015, at 4:56 PM, Graham Cox <email@hidden> wrote:
>
> Converting this to use string drawing is easy enough:
>
> NSDictionary* attributes = @{NSFontAttributedName:sysFont};
> NSString* myText = [NSString stringWithUTF8String:txt]; // check encoding if not UTF-8
>
> [myText drawAtPoint:pt withAttributes:attributes];
I did all the above ... now my text prints upside down andI cannot get it to size up regardless of the font size.
Any direction is much appreciated.
-rags
_______________________________________________
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