CGContextShowTextAtPoint
CGContextShowTextAtPoint
- Subject: CGContextShowTextAtPoint
- From: "Raglan T. Tiger" <email@hidden>
- Date: Tue, 13 Oct 2015 16:02:00 -0600
In my printing code I do some setup:
NSFont *sysFont = [NSFont systemFontOfSize:10];
NSString *sysFontName = [sysFont fontName];
CGContextSelectFont(ctx, [sysFontName cStringUsingEncoding:NSASCIIStringEncoding], 90, kCGEncodingMacRoman);
CGContextSetTextDrawingMode(ctx, kCGTextFill);
Then:
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?
-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