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

Desktop geometry problem


  • Subject: Desktop geometry problem
  • From: Gregory Weston <email@hidden>
  • Date: Thu, 07 Jun 2012 07:23:01 -0400

Does anyone know of existing code or a trivial technique to get a CGPath or NSBezierPath that describes the shape of the desktop? I'll write and share it if it's not out there, but I'd rather not reinvent any wheels. My interests are:

1. It should be the actual perimeter of the desktop, not just the bounding box.
2. It should be a single polygon, rather than a collection of rectangles.
3. It should behave properly in the presence of mirrored displays.

I do not care about aberrant or hypothetical scenarios such as a desktop that's disjoint or has holes in it.

Thanks in advance for any pointers.
_______________________________________________

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: Desktop geometry problem
      • From: Graham Cox <email@hidden>
  • Prev by Date: Moving CALayer and content transition animation
  • Next by Date: Re: NSRunningApplication isTerminated bug
  • Previous by thread: Re: Moving CALayer and content transition animation
  • Next by thread: Re: Desktop geometry problem
  • Index(es):
    • Date
    • Thread