Esempio n. 1
0
		//                                                                                                     
		// Union
		//

		public void Union (GraphicsPath path)
		{
			if (path == null)
				throw new ArgumentNullException ("path");
			Status status = GDIPlus.GdipCombineRegionPath (nativeRegion, path.NativeObject, CombineMode.Union);
                        GDIPlus.CheckStatus (status);                        
		}
Esempio n. 2
0
        //
        // Xor
        //
        public void Xor(GraphicsPath path)
        {
            if (path == null)
            {
                throw new ArgumentNullException("path");
            }
            Status status = GDIPlus.GdipCombineRegionPath(nativeRegion, path.nativePath, CombineMode.Xor);

            GDIPlus.CheckStatus(status);
        }