Hi,
I'm currently working on an application for my dissertation for my
final year at University.
I'm having a little trouble with the System.Drawing.Region class.
The application is being designed to help create and study the use of
Euler/Venn diagrams, the user can draw various shapes which are stored
as GraphicsPaths.
They can also shade the intersections of these paths to signify that
the two (or more) objects have no relation.
To do this I am using region.Intersect and region.Xor to get the
data... this works fine but I need some help solving a problem.
See image: http://www.xafiers-home.com/euler/euler.jpg
Here the two objects overlap, when creating the region with an Xor it
produces shading either side of the vertical shape.
I want to be able to differentiate between these two shaded regions in
the region, but I can not find any functionality to get at the data
and find each group of data.
If anyone could help I'd apprechiate it.
Regards,
Kris Wragg