• 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: How does Pixie work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does Pixie work?


  • Subject: Re: How does Pixie work?
  • From: Thomas Jahnsen <email@hidden>
  • Date: Thu, 4 Jul 2002 12:23:07 +1000

Just yesterday I checked out some little sample app that displayed the cursor area of the screen in a little window. It was in the Multiprocessor SDK at the July ADC DVD, but would probably be in the SDK off the web too.
It is likely to be in Carbon C however, but in the end, it's the functionality of the program that counts, not what API is used.

-Thomas Jahnsen
email@hidden


On Thursday, July 4, 2002, at 09:32 AM, Stonewall Ballard wrote:

How does Pixie get the screen bits under the cursor?

I was told that you could use an invisible window to read the screen,
presumably by calling something like:

[[NSBitmapImageRep alloc] initWithFocusedViewRect: myFrame]

I've made a very nice transparent window by setting its opacity to NO, and
filling its content view with clearColor, but the image I get from the above
operation is just gray.

Strangely, some other code I've seen for grabbing the screen by covering it
with a large transparent window and doing the above operation doesn't work
on my Macs.

For example, see <http://borkware.com/quickies/one?topic=Graphics>. This
produces a "background pinstripe" image on my TiBook and my desktop G4, but
apparently, it works on other systems. Is this related?

TIA for any help, esp. pointers to sample code.

- Stoney

--
Stonewall Ballard
email@hidden http://www.sb.org/stoney/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How does Pixie work?
      • From: Stonewall Ballard <email@hidden>
References: 
 >How does Pixie work? (From: Stonewall Ballard <email@hidden>)

  • Prev by Date: Re: How to make my application quit?
  • Next by Date: Re: Cocoa stripping resource forks: does Jaguar fix?
  • Previous by thread: How does Pixie work?
  • Next by thread: Re: How does Pixie work?
  • Index(es):
    • Date
    • Thread