• 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: Drawing Text in an NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing Text in an NSImage


  • Subject: Re: Drawing Text in an NSImage
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 29 Aug 2009 14:42:14 -0700

On Aug 29, 2009, at 2:21 PM, Seth Willits <email@hidden> wrote:

String drawing always happens relative to the view's orientation, not the image's. If the view is flipped and you draw into an image, then draw that image, the string will be upside down. That's the reason I'm assuming they say not to do it.

Sounds like a misunderstanding about image flippedness. Check the 10.6 AppKit release notes and you'll see they have removed the flipped property altogether.


Also, the release notes indicate that drawing will not always happen in a window or view. You will always have a graphics context, though, so start thinking in terms of the context's Current Transformation Matrix.

--Kyle Sluder
_______________________________________________

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


References: 
 >Drawing Text in an NSImage (From: Seth Willits <email@hidden>)
 >Re: Drawing Text in an NSImage (From: "Henry McGilton (Boulevardier)" <email@hidden>)
 >Re: Drawing Text in an NSImage (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: virtual ivars
  • Next by Date: Re: virtual ivars
  • Previous by thread: Re: Drawing Text in an NSImage
  • Next by thread: Re: Drawing Text in an NSImage
  • Index(es):
    • Date
    • Thread