Tabnine Logo
GCInterface.getImage
Code IndexAdd Tabnine to your IDE (free)

How to use
getImage
method
in
org.pentaho.di.core.gui.GCInterface

Best Java code snippets using org.pentaho.di.core.gui.GCInterface.getImage (Showing top 4 results out of 315)

origin: pentaho/pentaho-kettle

painter.setMagnification( 0.25f );
painter.drawJob();
BufferedImage bufferedImage = (BufferedImage) gc.getImage();
int newWidth = bufferedImage.getWidth() - min.x;
int newHeigth = bufferedImage.getHeight() - min.y;
origin: pentaho/pentaho-kettle

painter.setTranslationY( min.y );
painter.buildTransformationImage();
BufferedImage bufferedImage = (BufferedImage) gc.getImage();
int newWidth = bufferedImage.getWidth() - min.x;
int newHeigth = bufferedImage.getHeight() - min.y;
origin: pentaho/pentaho-kettle

return (Image) gc.getImage();
origin: pentaho/pentaho-kettle

public Image getTransformationImage( Device device, int x, int y, float magnificationFactor ) {
 GCInterface gc = new SWTGC( device, new Point( x, y ), iconsize );
 int gridSize =
  PropsUI.getInstance().isShowCanvasGridEnabled() ? PropsUI.getInstance().getCanvasGridSize() : 1;
 TransPainter transPainter =
  new TransPainter( gc, transMeta, new Point( x, y ), new SwtScrollBar( hori ), new SwtScrollBar( vert ),
   candidate, drop_candidate, selectionRegion, areaOwners, mouseOverSteps,
   PropsUI.getInstance().getIconSize(), PropsUI.getInstance().getLineWidth(), gridSize,
   PropsUI.getInstance().getShadowSize(), PropsUI.getInstance()
   .isAntiAliasingEnabled(), PropsUI.getInstance().getNoteFont().getName(), PropsUI.getInstance()
   .getNoteFont().getHeight(), trans, PropsUI.getInstance().isIndicateSlowTransStepsEnabled() );
 transPainter.setMagnification( magnificationFactor );
 transPainter.setStepLogMap( stepLogMap );
 transPainter.setStartHopStep( startHopStep );
 transPainter.setEndHopLocation( endHopLocation );
 transPainter.setNoInputStep( noInputStep );
 transPainter.setEndHopStep( endHopStep );
 transPainter.setCandidateHopType( candidateHopType );
 transPainter.setStartErrorHopStep( startErrorHopStep );
 transPainter.setShowTargetStreamsStep( showTargetStreamsStep );
 transPainter.buildTransformationImage();
 Image img = (Image) gc.getImage();
 gc.dispose();
 return img;
}
org.pentaho.di.core.guiGCInterfacegetImage

Popular methods of GCInterface

  • dispose
  • textExtent
  • drawImage
  • drawJobEntryIcon
  • drawLine
  • drawPoint
  • drawPolygon
  • drawRectangle
  • drawRoundRectangle
  • drawStepIcon
  • drawText
  • fillGradientRectangle
  • drawText,
  • fillGradientRectangle,
  • fillPolygon,
  • fillRectangle,
  • fillRoundRectangle,
  • getAlpha,
  • getArea,
  • getDeviceBounds,
  • getImageBounds

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now