MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / print

Method print

ij/src/main/java/ij/plugin/filter/Printer.java:69–80  ·  view source on GitHub ↗
(ImagePlus imp)

Source from the content-addressed store, hash-verified

67 }
68
69 void print(ImagePlus imp) {
70 PrinterJob pj = PrinterJob.getPrinterJob();
71 pj.setPrintable(this);
72 //pj.pageDialog(pj.defaultPage());
73 if (IJ.macroRunning() || pj.printDialog()) {
74 imp.startTiming();
75 try {pj.print(); }
76 catch (PrinterException e) {
77 IJ.log(""+e);
78 }
79 }
80 }
81
82 @Override
83 public int print(Graphics g, PageFormat pf, int pageIndex) {

Callers 4

runMethod · 0.95
pageSetupMethod · 0.95
saveMethod · 0.45
saveXYCoordinatesMethod · 0.45

Calls 15

macroRunningMethod · 0.95
logMethod · 0.95
getOverlayMethod · 0.95
getHideOverlayMethod · 0.95
deleteRoiMethod · 0.95
flattenMethod · 0.95
getProcessorMethod · 0.95
isAreaMethod · 0.95
setRoiMethod · 0.95
cropMethod · 0.95
rotateLeftMethod · 0.95
getWidthMethod · 0.95

Tested by

no test coverage detected