Exemplo n.º 1
0
 public GridControl()
 {
     InitializeComponent();
       grid = new Grid(5, 5);
       grid.location = new PointF(0, 0);
       grid.size = this.Size;
 }
        public HoverOverBroadcastNode(Graphics g, Grid grid)
        {
            this.g = g;
              this.grid = grid;

              this.g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
              this.g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
        }
Exemplo n.º 3
0
        public HeatMapGridPoint(Grid grid, Point point, float intensity)
            : base(grid, point)
        {
            if(HeatMapGridPoint.img == null)
              {
            HeatMapGridPoint.img = new Bitmap("resources/graphics/gradient.png");
            HeatMapGridPoint.alpha_matrix = new float[][]{
              new float[] { 1, 0, 0, 0, 0 },
              new float[] { 0, 1, 0, 0, 0 },
              new float[] { 0, 0, 1, 0, 0 },
              new float[] { 0, 0, 0, 1, 0 },
              new float[] { 0, 0, 0, 0, 1 }
            };
              }

              this.intensity = intensity;
              HeatMapGridPoint.alpha_matrix[3][3] = 2 * this.intensity - 0.000001f; // for some reason if we get a 2.0 for that value, we get a big hole in the center.
        }
 public CenterOfMassClusterRenderer(Graphics g, Grid grid)
     : base(g, grid)
 {
 }
Exemplo n.º 5
0
 public GridPoint(Grid grid, Point point)
 {
     this._grid = grid;
       this._point = point;
 }
Exemplo n.º 6
0
 public XbeeGridPoint(Grid grid, Point point, Color color)
     : base(grid, point)
 {
     this._color = color;
 }
 public ColorHeatMapClusterRenderer(Graphics g, Grid grid)
     : base(g, grid)
 {
     ColorHeatMapClusterRenderer.create_palette_index();
       this.g = this.g;
 }
 public ConvexHullClusterRenderer(Graphics g, Grid grid)
     : base(g, grid)
 {
 }
Exemplo n.º 9
0
 protected ClusterRenderer(Graphics g, Grid grid)
 {
     this.g = g;
       this.grid = grid;
 }
 public HeatMapClusterRenderer(Graphics g, Grid grid)
     : base(g, grid)
 {
 }