Examples of draw()


Examples of pathfinder.gui.drawable.CharactersDrawable.draw()

  }

  protected void drawOnVision(Graphics2D g2) {
    CharactersDrawable draw = new CharactersDrawable();
    draw.draw(g2);
  }
}
View Full Code Here

Examples of pu.web.client.PU_Image.draw()

   
    // Pokemon bar
    PU_Image pokemonBar = PUWeb.resources().getGuiImage(GuiImages.IMG_GUI_WORLD_POKEMONBAR);
    if(pokemonBar != null)
    {
      pokemonBar.draw(193, 11);
    }
   
    // The following routine might not seem very efficient,
    // but since webgl is the slowest element in the program - this is the best thing to do
    PU_Image pokemonSlot = PUWeb.resources().getGuiImage(GuiImages.IMG_GUI_WORLD_POKEMONSLOT);
View Full Code Here

Examples of quicktime.std.image.GraphicsImporter.draw()

        // create matrix to represent scaling of each pict
        Matrix drawMatrix = new Matrix();
        drawMatrix.rect(srcRect, gRect);
        gi.setMatrix(drawMatrix);
        gi.draw();

        // compress frame
        CompressedFrameInfo cfInfo = seq.compressFrame(gw, gRect,
          StdQTConstants.codecFlagUpdatePrevious, compressed);
View Full Code Here

Examples of shadowrun.gui.drawable.CharactersDrawable.draw()

  }

  protected void drawOnVision(Graphics2D g2) {
    CharactersDrawable draw = new CharactersDrawable();
    draw.draw(g2);
  }
}
View Full Code Here

Examples of sun.font.TextLineComponent.draw()

    public void draw(Graphics2D g2, float x, float y) {
        if (lp == null) {
            for (int i = 0, n = 0; i < fComponents.length; i++, n += 2) {
                int vi = fComponentVisualOrder==null? i : fComponentVisualOrder[i];
                TextLineComponent tlc = fComponents[vi];
                tlc.draw(g2, locs[n] + x, locs[n+1] + y);
            }
        } else {
            AffineTransform oldTx = g2.getTransform();
            Point2D.Float pt = new Point2D.Float();
            for (int i = 0, n = 0; i < fComponents.length; i++, n += 2) {
View Full Code Here

Examples of tiled.core.Tile.draw()

        public void render(Graphics g) {
            Iterator itr = sandwich.iterator();
            while (itr.hasNext()) {
                Tile t = (Tile)itr.next();
                if (t != null) t.draw(g, 0, getHeight(), 1.0f);
            }
        }

        public boolean equals(Cell c) {
            Iterator me = sandwich.iterator();
View Full Code Here

Examples of tv.floe.metronome.deeplearning.rbm.visualization.DrawMnistGreyscale.draw()

    //Matrix draw2 = MatrixUtils.binomial(reconstructed2,1,new MersenneTwister(123)).mul(255);
    Matrix draw2 = MatrixUtils.genBinomialDistribution(reconstructed2,1,new MersenneTwister(123)).times(255);
*/
    DrawMnistGreyscale d = new DrawMnistGreyscale(draw1);
    d.title = "REAL";
    d.draw();
    d.frame.setLocation(100, 200);
   
    DrawMnistGreyscale d2 = new DrawMnistGreyscale( draw2, 100, 100 );
    d2.title = "TEST";
    d2.draw();
View Full Code Here

Examples of wolf.gui.BuildingView.draw()

  public static void main(String[] args) {
   
    String geomString = "POLYGON((-1944 1909 0, -1944 1884 0, -1966 1784 0, -1966 1909 0, -1944 1909 0))";
    try {
      BuildingView bv = new BuildingView(new Building(geomString));
      while(bv.draw());
    } catch (ParseException e) {
      e.printStackTrace();
      System.err.println("Polygon not correctly formed!");
    }
View Full Code Here

Examples of xenon3d.scene.GraphicsContext3D.draw()

            public void render() {
                System.out.println("Canvas3D.render()");
                GraphicsContext3D gc = GraphicsContext3D.getGC();
                gc.beginTransform();
                gc.setTransform(tri_trans);
                gc.draw(tri_geo);
                gc.endTransform();
                gc.beginTransform();
                gc.setTransform(quad_trans);
                gc.apply(quad_app);
                gc.draw(quad_geo);
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.