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