Re: Intersection of CGPath and CGRect

2009-06-29 Thread Martin Hewitson
Graham, thanks a lot for your thoughts on this. The 1x1 bitmap is a nice idea; I'll have a go at that. I've grabbed the drawkit source and will have a look at how you got that working. Thanks again, Martin On 29 Jun 2009, at 01:07, Graham Cox wrote: On 28/06/2009, at 4:43 AM, Martin Hewi

Re: Intersection of CGPath and CGRect

2009-06-28 Thread Graham Cox
On 28/06/2009, at 4:43 AM, Martin Hewitson wrote: Does anyone know a good way to test if a CGPathRef intersects a CGRect at any point? This can be a hard problem. First, naturally discard the trivial case of the bounding rect of the path not intersecting the rect you're testing. The furt

Intersection of CGPath and CGRect

2009-06-28 Thread Martin Hewitson
Hi, Does anyone know a good way to test if a CGPathRef intersects a CGRect at any point? Thanks, Martin Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 3016