0, 0, imageData.width, imageData.height);
-trim.x, -trim.y, scaleFactor * imageData.width, scaleFactor * imageData.height);
	void menuPrint() {		if (image == null) return;		// Ask the user to specify the printer.		PrintDialog dialog = new PrintDialog(shell, SWT.NULL);		PrinterData printerData = dialog.open();		if (printerData == null) return;				Printer printer = new Printer(printerData);		if (printer.startJob(fileName)) {			GC gc = new GC(printer);			if (printer.startPage()) {				gc.drawImage(					image,					0,					0,					imageData.width,					imageData.height,					0,					0,					imageData.width,					imageData.height);				printer.endPage();			}			printer.endJob();		}		printer.dispose();	}