• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CGContextShowTextAtPoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CGContextShowTextAtPoint
      • From: Jens Alfke <email@hidden>
References: 
 >CGContextShowTextAtPoint (From: "Raglan T. Tiger" <email@hidden>)
 >Re: CGContextShowTextAtPoint (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSGraphicsContext currentContext() returns nil on OSX 10.11
  • Next by Date: Re: Handling http:// URLs
  • Previous by thread: Re: CGContextShowTextAtPoint
  • Next by thread: Re: CGContextShowTextAtPoint
  • Index(es):
    • Date
    • Thread