Examples of paint()


Examples of org.enhydra.jawe.components.graph.Graph.paint()

                    // Create a Buffered Image
                    Dimension d = bounds.getSize();
                    img = new BufferedImage(d.width, d.height, BufferedImage.TYPE_INT_RGB);
                    Graphics2D graphics = img.createGraphics();
                    graph.paint(graphics);
                }

                LogFactory.getLog(Viewer.class.getName()).info("Completed generating process image");

                return img;
View Full Code Here

Examples of org.freeplane.view.swing.map.cloud.CloudView.paint()

    final CloudModel cloudModel = getCloudModel();
    if (cloudModel == null) {
      return;
    }
    final CloudView cloud = new CloudViewFactory().createCloudView(cloudModel, this);
    cloud.paint(g);
  }

    private void paintClouds(final Graphics2D g) {
        for (int i = getComponentCount() - 1; i >= 0; i--) {
            final Component component = getComponent(i);
View Full Code Here

Examples of org.freeplane.view.swing.map.edge.EdgeView.paint()

              continue;
            }
            }
          if (nodeView.isContentVisible()) {
            final EdgeView edge = EdgeViewFactory.getInstance().getEdge(source, nodeView, source);
            edge.paint(g);
          }
          else {
            nodeView.paintEdges(g, source);
          }
        }
View Full Code Here

Examples of org.freeplane.view.swing.map.edge.SummaryEdgeView.paint()

    final NodeView parentView = target.getParentView();
    UITools.convertPointToAncestor(parentView, start1, source);
    UITools.convertPointToAncestor(parentView, start2, source);
    final EdgeView edgeView = new SummaryEdgeView(source, target, source);
    edgeView.setStart(start1);
    edgeView.paint(g);
    edgeView.setStart(start2);
    edgeView.paint(g);
    return true;
  }
View Full Code Here

Examples of org.freeplane.view.swing.map.link.ILinkView.paint()

            arrowLink = new EdgeLinkView(ref, getModeController(), sourceView, targetView);
          }
          else {
            arrowLink = new ConnectorView(ref, sourceView, targetView, getBackground());
          }
          arrowLink.paint(graphics);
          arrowLinkViews.add(arrowLink);
        }
      }
    }
    finally {
View Full Code Here

Examples of org.geomajas.internal.rendering.painter.tile.StringContentTilePainter.paint()

          .getRenderer(), metadata.getScale(), panOrigin, geoService, textService);
      tilePainter.setPaintGeometries(metadata.isPaintGeometries());
      tilePainter.setPaintLabels(metadata.isPaintLabels());
      log.debug("Going to paint features {}", tile.getFeatures());

      tilePainter.paint(tile);
    }
  }
}
View Full Code Here

Examples of org.geomajas.layer.RasterLayer.paint()

  public void execute(PipelineContext context, List<RasterTile> response) throws GeomajasException {
    RasterLayer layer = context.get(PipelineCode.LAYER_KEY, RasterLayer.class);
    Envelope bounds = context.get(PipelineCode.BOUNDS_KEY, Envelope.class);
    double scale = context.get(PipelineCode.SCALE_KEY, Double.class);
    CoordinateReferenceSystem crs = context.get(PipelineCode.CRS_KEY, CoordinateReferenceSystem.class);
    List<RasterTile> images = layer.paint(crs, bounds, scale);
    response.addAll(images);
  }

}
View Full Code Here

Examples of org.geomajas.rendering.painter.tile.TilePainter.paint()

          .getRenderer(), metadata.getScale(), panOrigin, geoService, textService);
      tilePainter.setPaintGeometries(metadata.isPaintGeometries());
      tilePainter.setPaintLabels(metadata.isPaintLabels());
      log.debug("Going to paint features {}", tile.getFeatures());

      tilePainter.paint(tile);
    }
  }
}
View Full Code Here

Examples of org.geoserver.wms.decoration.MapDecorationLayout.paint()

                    mapContent.getRenderingTransform());

            // apply watermarking
            if (layout != null) {
                try {
                    layout.paint(graphic, paintArea, mapContent);
                } catch (Exception e) {
                    throw new ServiceException("Problem occurred while trying to watermark data", e);
                }
            }
        } finally {
View Full Code Here

Examples of org.geoserver.wms.responses.MapDecorationLayout.paint()

            MapDecorationLayout.Block watermark =
                DefaultRasterMapProducer.getWatermark(this.mapContext.getRequest().getWMS().getServiceInfo());

            if (watermark != null) {
                MapDecorationLayout layout = new MapDecorationLayout();
                layout.paint(graphic, paintArea, this.mapContext);
            }
           
            //check if a non ignorable error occurred
            if(nonIgnorableExceptionListener.exceptionOccurred()){
                Exception renderError = nonIgnorableExceptionListener.getException();
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.