@Override public void drawImage( EImage image, int x, int y ) { drawImage( image, x, y, 0.0f ); }
@Override public void drawImage( EImage image, int x, int y, float magnification, double angle ) { SwingUniversalImage img = getNativeImage( image ); drawImage( img, x, y, angle, small_icon_size ); }
@Override public void drawImage( String location, ClassLoader classLoader, int x, int y ) { SwingUniversalImage img = SwingSvgImageUtil.getUniversalImage( classLoader, location ); drawImage( img, x, y, small_icon_size ); }
@Override public void drawImage( EImage image, int locationX, int locationY, float magnification ) { SwingUniversalImage img = getNativeImage( image ); drawImage( img, locationX, locationY, small_icon_size ); // gc.drawImage(img, locationX+xOffset, locationY+yOffset, observer); }
public void drawStepIcon( int x, int y, StepMeta stepMeta, float magnification ) { String steptype = stepMeta.getStepID(); SwingUniversalImage im = stepImages.get( steptype ); if ( im != null ) { // Draw the icon! drawImage( im, x + xOffset, y + xOffset, iconsize ); } }
public void drawImage( EImage image, int x, int y, int width, int height, float magnification ) { SwingUniversalImage img = getNativeImage( image ); drawImage( img, x, y, width, height ); }
public void drawJobEntryIcon( int x, int y, JobEntryCopy jobEntryCopy, float magnification ) { if ( jobEntryCopy == null ) { return; // Don't draw anything } SwingUniversalImage image = null; if ( jobEntryCopy.isSpecial() ) { if ( jobEntryCopy.isStart() ) { image = imageStart; } if ( jobEntryCopy.isDummy() ) { image = imageDummy; } } else { String configId = jobEntryCopy.getEntry().getPluginId(); if ( configId != null ) { image = entryImages.get( configId ); } } if ( image == null ) { return; } drawImage( image, x + xOffset, y + xOffset, iconsize ); // gc.drawImage(image, x+xOffset, y+yOffset, observer); }