• 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: Uli Kusterer <email@hidden>
  • Date: Fri, 28 Aug 2009 08:30:06 +0200

On Aug 28, 2009, at 5:13 AM, Seth Willits wrote:
drawAtPoint/drawInRect in NSString/NSAttributedString says...

"You should only invoke this method when an NSView object has focus."
"Don’t invoke this method while no NSView is focused."

I think, for the discussion of this particular API, an NSView object having focus includes the case of an NSImage object having focus. You may want to file a documentation bug requesting clarification.


Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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>)

  • Prev by Date: Re: Making failed NSAsserts crash an app
  • Next by Date: Core Data Predicate Builder - comparing dates
  • Previous by thread: Re: Drawing Text in an NSImage
  • Next by thread: creating registration codes
  • Index(es):
    • Date
    • Thread