コード例 #1
0
ファイル: Region.cs プロジェクト: shandan1/CollectionRef
 public void Complement(Rectangle rect)
 {
     Gdip.CheckStatus(Gdip.GdipCombineRegionRectI(new HandleRef(this, NativeRegion), ref rect, CombineMode.Complement));
 }
コード例 #2
0
ファイル: Region.cs プロジェクト: shandan1/CollectionRef
 public void Exclude(Rectangle rect)
 {
     Gdip.CheckStatus(Gdip.GdipCombineRegionRectI(new HandleRef(this, NativeRegion), ref rect, CombineMode.Exclude));
 }