Thank you for your answer. But as you pointed out, I was looking for a more mathematical/integrated option. System.Drawing as the ability to apply boolean ops on GraphicsPath. As my problem is to find the intersection between two paths, I thought the API could expose the underlying mechanism... but maybe it's not the case...
I could do it by myself, relying on System.Drawing for drawing ops and on my own geometrical implementation for hit testing and intersection detection... but that's a pita as it means recoding b-spline, line and ellipses... cheers, -- CÃdric On Mon, 2004-07-19 at 02:59 -0700, Jon Watte wrote: > > - Should I render in an offline buffer using a special > > compositing mode and lookup afterward ? > > The good-old hit-test function used since the '80s is to > allocate a 1-pixel bitmap to render into, and make sure > that that pixel is the point you're interested in > intersecting with (using 2D offset/changing the origin). > Clear it to white, render your thing in black, and then > see if the pixel changed color. > > If you want a mathematical intersection, this won't > help, of course. _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
