/* AW
public Rectangle getClipping() {	if (handle == 0) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);	int clipRgn = data.clipRgn;	/* AW	if (clipRgn == 0) {		int[] width = new int[1]; int[] height = new int[1];		int[] unused = new int[1];		OS.XGetGeometry(data.display, data.drawable, unused, unused, unused, width, height, unused, unused);		return new Rectangle(0, 0, width[0], height[0]);	}	XRectangle rect = new XRectangle();	OS.XClipBox(clipRgn, rect);	return new Rectangle(rect.x, rect.y, rect.width, rect.height);	*/	MacRect bounds= new MacRect();	if (data.clipRgn == 0) {		if (data.controlHandle != 0) {			OS.GetControlBounds(data.controlHandle, bounds.getData());			return new Rectangle(0, 0, bounds.getWidth(), bounds.getHeight());		}		if (data.image != null) {			return data.image.getBounds();		}			System.out.println("GC.getClipping(): should not happen");		return new Rectangle(0, 0, 100, 100);	}	OS.GetRegionBounds(data.clipRgn, bounds.getData());	return bounds.toRectangle();}