public RegionCombineType Combine(GDIRegion aRegion, GDIRegion bRegion, RegionCombineStyles combineStyle) { int retValue = GDI32.CombineRgn(DangerousGetHandle(), aRegion.DangerousGetHandle(), bRegion.DangerousGetHandle(), (int)combineStyle); RegionCombineType result = (RegionCombineType)retValue; return result; }
public virtual void SetClip(GDIRegion clipRegion) { GDI32.SelectClipRgn(DeviceContext, clipRegion.DangerousGetHandle()); }
public bool Equals(GDIRegion aRegion) { bool isEqual = GDI32.EqualRgn(DangerousGetHandle(), aRegion.DangerousGetHandle()); return isEqual; }
public GDIRegion Intersect(GDIRegion aRegion) { RegionCombineType retValue = (RegionCombineType)GDI32.CombineRgn(DangerousGetHandle(), DangerousGetHandle(), aRegion.DangerousGetHandle(), (int)RegionCombineStyles.AND); return this; }
public GDIRegion Subtract(GDIRegion aRegion) { RegionCombineType retValue = (RegionCombineType)GDI32.CombineRgn(DangerousGetHandle(), DangerousGetHandle(), aRegion.DangerousGetHandle(), (int)RegionCombineStyles.Diff); return this; }