Re: Desktop geometry problem

2012-06-11 Thread Lee Ann Rucker
> If you have only two rectangles, and they touch only at a corner, you'll get > horizontal and vertical segments that cross at that corner, without ending > there. Each of those line segments will be partly clockwise and partly > counterclockwise. The ambitious student could resolve this by ass

Re: Desktop geometry problem

2012-06-11 Thread Ron Hunsinger
On Jun 8, 2012, at 4:01 AM, Gregory Weston wrote: > Strictly what I need is the set of individual line segments that define the > perimeter, but I figured that it anyone had a solution to the problem in > already it was likely to be giving back a path instead of just a list of > points and I co

Re: Desktop geometry problem

2012-06-08 Thread Lee Ann Rucker
les. - Original Message - From: "Gregory Weston" To: "Kyle Sluder" Cc: cocoa-dev@lists.apple.com Sent: Friday, June 8, 2012 4:01:03 AM Subject: Re: Desktop geometry problem On Jun 8, 2012, at 02:20, Kyle Sluder wrote: > On Jun 7, 2012, at 7:30 PM, gweston wrote:

Re: Desktop geometry problem

2012-06-08 Thread Kyle Sluder
On Jun 8, 2012, at 4:01 AM, Gregory Weston wrote: > > Strictly what I need is the set of individual line segments that define the > perimeter, but I figured that it anyone had a solution to the problem in > already it was likely to be giving back a path instead of just a list of > points and

Re: Desktop geometry problem

2012-06-08 Thread Gregory Weston
On Jun 8, 2012, at 02:20, Kyle Sluder wrote: > On Jun 7, 2012, at 7:30 PM, gweston wrote: > >> On Jun 07, 2012, at 10:22 PM, Graham Cox wrote: >> >> >> On 07/06/2012, at 9:23 PM, Gregory Weston wrote: >> >>> Does anyone know of existing code or a trivial technique to get a CGPath or >>> NS

Re: Desktop geometry problem

2012-06-07 Thread Kyle Sluder
On Jun 7, 2012, at 7:30 PM, gweston wrote: > On Jun 07, 2012, at 10:22 PM, Graham Cox wrote: > > > On 07/06/2012, at 9:23 PM, Gregory Weston wrote: > >> 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 w

Re: Desktop geometry problem

2012-06-07 Thread Graham Cox
On 08/06/2012, at 12:30 PM, gweston wrote: > On Jun 07, 2012, at 10:22 PM, Graham Cox wrote: > >> >> On 07/06/2012, at 9:23 PM, Gregory Weston wrote: >> >> > Does anyone know of existing code or a trivial technique to get a CGPath >> > or NSBezierPath that describes the shape of the desktop?

Re: Desktop geometry problem

2012-06-07 Thread gweston
On Jun 07, 2012, at 10:22 PM, Graham Cox wrote: On 07/06/2012, at 9:23 PM, Gregory Weston wrote: 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 no

Re: Desktop geometry problem

2012-06-07 Thread Graham Cox
On 07/06/2012, at 9:23 PM, Gregory Weston wrote: > 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: >

Desktop geometry problem

2012-06-07 Thread Gregory Weston
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