Examples of paint()


Examples of net.sf.robocode.ui.gfx.RenderImage.paint()

          y = battleFieldHeight - robotSnapshot.getY();

          at = AffineTransform.getTranslateInstance(x, y);

          explodeDebrise.setTransform(at);
          explodeDebrise.paint(g);
        }
      }
    }

    for (IRobotSnapshot robotSnapshot : snapShot.getRobots()) {
View Full Code Here

Examples of net.sourceforge.ganttproject.chart.ChartModel.paint()

              model.setRowHeight(((GanttTree2) tree).getTreeTable()
                      .getRowHeight());
              model.setTopTimeUnit(getViewState().getTopTimeUnit());
              model.setBottomTimeUnit(getViewState().getBottomTimeUnit());
              model.setVisibleTasks(visibleTasks);
              model.paint(g);
              if (getActiveInteraction() != null) {
                  getActiveInteraction().paint(g);
              }
          }
        }
View Full Code Here

Examples of net.sourceforge.jeuclid.MathBase.paint()

                    public Dimension getImageSize() {
                        return size.getDimensionMpt();
                    }

                    public void paint(Graphics2D g2d, Rectangle2D area) {
                        base.paint(g2d);
                    }
                   
                };
               
                //The whole image had to be loaded for this, so keep it
View Full Code Here

Examples of net.wigis.graph.PaintBean.paint()

      // ------------------------------------

      Timer paintTimer = new Timer( Timer.MILLISECONDS );
      paintTimer.setStart();
      response.setContentType( "image/gif" );
      pb.paint( response.getOutputStream(), width, height, overview, rendering );
      paintTimer.setEnd();

      if( Settings.DEBUG && !overview && !pb.isRenderJS() )
        System.out.println( "Drawing took " + paintTimer.getLastSegment( Timer.SECONDS ) + " seconds." );
    }
View Full Code Here

Examples of net.wigis.graph.dnv.animations.Animation.paint()

          Animation animation;
          List<Animation> animations = subgraph.getSuperGraph().getAnimations();
          for( int i = 0; i < animations.size(); i++ )
          {
            animation = animations.get( i );
            animation.paint( g2d, pb );
            if( animation.hasCompleted() )
            {
              animations.remove( i );
              i--;
            }
View Full Code Here

Examples of org.apache.batik.gvt.GraphicsNode.paint()

        aBridge.getCurrentTransform().setTransform(generator.getState().getTransform());

        graphics.setPaintingState(generator.getState());
        graphics.setOutputStream(pdfInfo.outputStream);
        try {
            root.paint(graphics);
            generator.add(graphics.getString());
        } catch (Exception e) {
            SVGEventProducer eventProducer = SVGEventProducer.Provider.get(
                    context.getUserAgent().getEventBroadcaster());
            eventProducer.svgRenderingError(this, e, getDocumentURI(doc));
View Full Code Here

Examples of org.apache.batik.gvt.TextPainter.paint()

        }

        // Paint the text
        TextPainter textPainter = rc.getTextPainter();
        if(textPainter != null) {
            textPainter.paint(aci, location, anchor, g2d, rc);
        }
        // g2d.translate(-location.getX(), -location.getY());

    }
View Full Code Here

Examples of org.apache.batik.transcoder.wmf.tosvg.WMFPainter.paint()

                g2d.scale(sx, sy);
            }

            WMFPainter painter = new WMFPainter(wmfStore, 1.0f);
            long start = System.currentTimeMillis();
            painter.paint(g2d);
            if (log.isDebugEnabled()) {
                long duration = System.currentTimeMillis() - start;
                log.debug("Painting WMF took " + duration + " ms.");
            }
        }
View Full Code Here

Examples of org.apache.flex.forks.batik.gvt.GraphicsNode.paint()

        // get the 'width' and 'height' attributes of the SVG document
        width = (int) (ctx.getDocumentSize().getWidth() + 0.5);
        height = (int) (ctx.getDocumentSize().getHeight() + 0.5);

        SpriteGraphics2D swf2d = new SpriteGraphics2D(width, height);
    gvtRoot.paint(swf2d);
    tags = swf2d.getTags();

    //Override width and height based on the SWF-specific bounds of the sprite contents
    //However we have to correct co-ordinates back to pixels... TODO: Remove all TWIPS references!
    Rect bounds = swf2d.getBounds();
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.image.painter.Painter.paint()

        g.setColor(paintContext.getSurroundingColor());
        g.fillRect(0, 0, width, height);
        g.setColor(oldColor);

        // Paint the image
        painter.paint(paintContext, g, 0, 0, width, height);

        // Now that we are done painting, dispose the PaintContext
        disposePaintContext(paintContext);

        // Store width/height for client
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.