if (roi!=null) drawRoi(roi, g);
if (srcRect.width<imageWidth || srcRect.height<imageHeight)
drawZoomIndicator(g);
if (IJ.debugMode) showFrameRate(g);
}
<BUG>catch(OutOfMemoryError e) {IJ.outOfMemory("Paint");}
}</BUG>
private void setInterpolation(Graphics g, boolean interpolate) {
if (magnification==1)
return;

if (roi!=null) drawRoi(roi, g);
if (srcRect.width<imageWidth || srcRect.height<imageHeight)
drawZoomIndicator(g);
if (IJ.debugMode) showFrameRate(g);
}
catch(OutOfMemoryError e) {IJ.outOfMemory("Paint");}
setPaintPending(false);
}
private void setInterpolation(Graphics g, boolean interpolate) {
if (magnification==1)
return;
