public void Xor(GraphicsPath path) { var region = new Region(path); Xor(region) ; region.Dispose(); }
public void ctor_GraphicsPath () { GraphicsPath path = new GraphicsPath (); path.AddRectangle (rect); Region r1 = new Region (path); r1.Xor (r); Assert.IsTrue (r1.IsEmpty (t.Graphics)); }