On Oct 13, 2015, at 3:02 PM, Raglan T. Tiger <r...@crusaderrabbit.net> wrote:
> CGContextShowTextAtPoint (ctx, pt.x,pt.y,(const char*)txt, len );
> 
> This has printed my text UNTIL 10.11.
> 
> I see that CGContextShowTextAtPoint is deprecated in 10.9 ... is it gone in 
> 10.11?

As Quincey Morris says, Core Text is the recommended low-level API for drawing 
text now. It handles some typographical niceties that a direct PDF-equivalent 
CG call doesn't.

Another option is the -[NSAttributedString drawAtPoint:] method, which is a 
very easy method for simple string drawing.



_______________________________________________

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