if (hRgn != 0) OS.OffsetRgn (hRgn, pt.x, pt.y);
if (hRgn != 0 && !OS.IsWinCE) { OS.OffsetRgn(hRgn, pt.x, pt.y); }
void setClipping(int clipRgn) {	int hRgn = clipRgn;	int gdipGraphics = data.gdipGraphics;	if (gdipGraphics != 0) {		if (hRgn != 0) {			int region = Gdip.Region_new(hRgn);			Gdip.Graphics_SetClip(gdipGraphics, region, Gdip.CombineModeReplace);			Gdip.Region_delete(region);		} else {			Gdip.Graphics_ResetClip(gdipGraphics);		}	} else {		POINT pt = null;		if (hRgn != 0 && !OS.IsWinCE) {			pt = new POINT ();			OS.GetWindowOrgEx (handle, pt);			OS.OffsetRgn (hRgn, -pt.x, -pt.y);		}		OS.SelectClipRgn(handle, hRgn);		if (hRgn != 0) OS.OffsetRgn (hRgn, pt.x, pt.y);	}	if (hRgn != 0 && hRgn != clipRgn) {		OS.DeleteObject(hRgn);	}}