use of org.cytoscape.graph.render.export.ImageImposter in project cytoscape-impl by cytoscape.
the class InnerCanvas method print.
@Override
public void print(Graphics g) {
isPrinting = true;
final int w = getWidth();
final int h = getHeight();
if (m_view != null && w > 0 && h > 0)
renderGraph(new GraphGraphics(new ImageImposter(g, w, h), /* debug = */
false, /* clear = */
false), /* setLastRenderDetail = */
false, m_view.m_printLOD);
isPrinting = false;
}
Aggregations