checkDevice();  return new Rectangle(x, y, width, height);
return new Rectangle(0,0,0,0);
public Rectangle computeTrim(int x, int y, int width, int height) {	checkDevice();	/* AW	XRectangle rect = new XRectangle();	short [] paperWidth = new short [1];	short [] paperHeight = new short [1];	OS.XpGetPageDimensions(xDisplay, printContext, paperWidth, paperHeight, rect);	int hTrim = paperWidth[0] - rect.width;	int vTrim = paperHeight[0] - rect.height;	return new Rectangle(x - rect.x, y - rect.y, width + hTrim, height + vTrim);	*/	return new Rectangle(x, y, width, height);}