• 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
NSReadPixel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSReadPixel


  • Subject: NSReadPixel
  • From: koko <email@hidden>
  • Date: Fri, 10 Feb 2012 17:44:08 -0700

I have two monitors connected.

When I call NSreadPixel with a point that is on the main screen, origin 0,0 it returns the appropriate NSColor;

When I call NSreadPixel with a point that is on the 2nd screen, origin -1280,0 it returns nil as the NSColor;

So, how do I get the NSColor for a pixel whose x coordinate is <0?

-koko


_______________________________________________

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: NSReadPixel
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: drawing 1 bit images, and image resolution
  • Next by Date: Re: Instruments won't symbolicate the call tree. What now?
  • Previous by thread: Re: Animated NSSplitView headache
  • Next by thread: Re: NSReadPixel
  • Index(es):
    • Date
    • Thread