Another alternative, if you’re going to go high-level, is to use a CATextLayer.


—Graham


> On 16 Sep 2016, at 12:46 AM, Alex Kac <a...@houseofkac.com> wrote:
> 
> One thing you might consider is just using an attributed string:
> 
> NSAttributedString* attrString = [[NSAttributedString alloc] 
> initWithString:@"Text" attributes:@[NSFontAttributeName:[NSFont 
> fontWithName:@"Times" size:16]]];
> [attrString drawAtPoint:somePoint];
> 
> Something like that, at least. 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to