Examples of AWTGraphicsDevice


Examples of com.jogamp.nativewindow.awt.AWTGraphicsDevice

    super();
    this.caps = caps;
    this.chosenIndex = chosenIndex;
    this.device = device;
    //FIXME unit id?
    this.awtGraphicsDevice = new AWTGraphicsDevice(this.device, 0);
    DisplayMode m = device.getDisplayMode();
    width = m.getWidth();
    height = m.getHeight();
  }
View Full Code Here

Examples of org.renjin.graphics.device.AwtGraphicsDevice

    Graphics2D g2d = (Graphics2D) image.getGraphics();
    g2d.setColor(Color.WHITE);
    g2d.setBackground(Color.WHITE);
    g2d.fill(g2d.getDeviceConfiguration().getBounds());
   
    AwtGraphicsDevice driver = new AwtGraphicsDevice(g2d);
    topLevelContext.getSingleton(GraphicsDevices.class).setActive(new GraphicsDevice(driver));
   
    try {
      eval("barplot(c(1,2,3), main='Distribution', xlab='Number')");
    } finally {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.