-
- ImageMaker im;
-
- if (type == ImageMaker.TYPE.PNG)
- {
- im = new ImageMaker(this, ImageMaker.TYPE.PNG,
- "Make PNG image from view",
- width, height, null, null, null, 0, false);
- }
- else if (type == ImageMaker.TYPE.EPS)
- {
- im = new ImageMaker(this, ImageMaker.TYPE.EPS,
- "Make EPS file from view",
- width, height, null, this.getTitle(), null, 0, false);
- }
- else
- {
- im = new jalview.util.ImageMaker(this,
- ImageMaker.TYPE.SVG, "Make SVG file from PCA",
- width, height, null, this.getTitle(), null, 0, false);
- }
-
- if (im.getGraphics() != null)