Examples of draw()


Examples of com.jogamp.opengl.util.awt.TextRenderer.draw()

    endPrimitives();
    TextRenderer textRenderer = resourceManager.getTextRenderer(font);
    textRenderer.begin3DRendering();
    applyColor();
    setTextTransformation();
    textRenderer.draw(text, 0, 0);
    textRenderer.end3DRendering();
    setTransform();
  }
  public void getTextBounds(String text, Rectangle2D bounds) {
    if (text == null) throw new IllegalArgumentException("text must not be null");
View Full Code Here

Examples of com.levigo.util.gwtawt.client.WebGraphics.draw()

        WebGraphics g = new WebGraphics(ctx);
        // Draw it on the Canvas
        ctx.setLineWidth(33);
        g.setColor(java.awt.Color.WHITE);
        g.draw(envPath);
        ctx.setLineWidth(30);
        g.setColor(java.awt.Color.LIGHT_GRAY);
        g.draw(envPath);
        ctx.setLineWidth(7);
        g.setColor(java.awt.Color.DARK_GRAY);
View Full Code Here

Examples of com.lowagie.text.pdf.draw.DrawInterface.draw()

                    add((Image) element);
                    break;
                }
                case Element.YMARK: {
                    DrawInterface zh = (DrawInterface)element;
                    zh.draw(graphics, indentLeft(), indentBottom(), indentRight(), indentTop(), indentTop() - currentHeight - (leadingCount > 0 ? leading : 0));
                    pageEmpty = false;
                    break;
                }
                case Element.MARKED: {
                  MarkedObject mo;
View Full Code Here

Examples of com.matis_digital.simulation.gui.utils.Particle.draw()

                    }
                }
                for (int idx = 0; idx < _particles.size(); idx++)
                {
                    final Particle particle = _particles.get(idx);
                    particle.draw(_bbGraphics, false);
                    if (info == true)
                    {
                        final FontRenderContext frc = _bbGraphics.getFontRenderContext();
                        final String infoString = particle.toString();
                        final Rectangle2D rect = _bbGraphics.getFont().getStringBounds(infoString, frc);
View Full Code Here

Examples of com.oxidevelopment.bleakengine.scene.Scene.draw()

   
    while (!Display.isCloseRequested()) {
      GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
      Scene scene = SceneManager.getScene();
      scene.update();
      scene.draw();
    }
   
    DisplayManager.destroy();
  }
 
View Full Code Here

Examples of com.pahimar.repackage.cofh.lib.gui.element.TabBase.draw()

            if (!tab.isVisible()) {
                continue;
            }
            // TODO: convert these over to foreground/background (maybe logic for top/bottom tabs?)
            if (tab.side == TabBase.LEFT) {
                tab.draw(0, yPosLeft);
                yPosLeft += tab.currentHeight;
            } else {
                tab.draw(xSize, yPosRight);
                yPosRight += tab.currentHeight;
            }
View Full Code Here

Examples of com.positive.charting.annotations.CategoryAnnotation.draw()

    if (this.getAnnotations() != null) {
      final Iterator iterator = this.getAnnotations().iterator();
      while (iterator.hasNext()) {
        final CategoryAnnotation annotation = (CategoryAnnotation) iterator
            .next();
        annotation.draw(g2, this, dataArea, this.getDomainAxis(), this
            .getRangeAxis());
      }
    }

  }
View Full Code Here

Examples of com.positive.charts.axis.Axis.draw()

        - this.axisOffset.calculateTopOutset(dataArea.height);
    Iterator iterator = axisCollection.getAxesAtTop().iterator();
    while (iterator.hasNext()) {
      final Axis axis = (Axis) iterator.next();
      if (axis != null) {
        final AxisState axisState = axis.draw(g2, cursor, plotArea,
            dataArea, RectangleEdge.TOP, plotState);
        cursor = axisState.getCursor();
        axisStateMap.put(axis, axisState);
      }
    }
View Full Code Here

Examples of com.positive.charts.axis.ValueAxis.draw()

    double cursor = RectangleUtil.getMinY(dataArea)
        - this.axisOffset.calculateTopOutset(dataArea.height);
    Iterator iterator = axisCollection.getAxesAtTop().iterator();
    while (iterator.hasNext()) {
      final ValueAxis axis = (ValueAxis) iterator.next();
      final AxisState info = axis.draw(gc, cursor, plotArea, dataArea,
          RectangleEdge.TOP, plotState);
      cursor = info.getCursor();
      axisStateMap.put(axis, info);
    }
View Full Code Here

Examples of com.positive.charts.block.BlockContainer.draw()

    if (container == null) {
      container = this.items;
    }
    target = this.trimPadding(target);
    target.x += 2;
    return container.draw(g2, target, params);
  }

  /**
   * Tests this title for equality with an arbitrary object.
   *
 
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.