Package org.fonteditor.elements.points

Examples of org.fonteditor.elements.points.FEPointList


  public void release(Point p, DisplayOptions gdo)
  {
    For.get(p);
    if (getDragBox())
    {
      FEPointList fepointlist = getFEPointList(gdo);
      FEPathList fepathlist = getFEPathList(gdo);
      int min_x = Math.min(drag_start.getX(), drag_end.getX());
      int min_y = Math.min(drag_start.getY(), drag_end.getY());
      int max_x = Math.max(drag_start.getX(), drag_end.getX());
      int max_y = Math.max(drag_start.getY(), drag_end.getY());
View Full Code Here


    i = new int[number];
    resetPointAndPathLists();
  }

  public void resetPointAndPathLists() {
    fepointlist = new FEPointList();
    fepathlist = new FEPathList();
    //Log.log("resetPointAndPathLists");
  }
View Full Code Here

    fepathlist.executeOnEachPath(new ExecutorOnFEPath()
    {
      public void execute(FEPath p, Object o)
      {
        Point r = (Point) o;
        FEPointList fepl = p.getFEPointList();

        fepl.translate(r.x, r.y);
      }
    }, new Point(dx, dy));
    //instruction_stream.fepointlist.translate(dx, dy);
    //getSliders().translate(dx, dy);
  }
View Full Code Here

    return sliders;
  }

  public int getMinX(DisplayOptions gdo)
  {
    FEPointList fepointlist = getFEPointList(gdo);

    return fepointlist.getMinX();
  }
View Full Code Here

    return fepointlist.getMinX();
  }

  public int getMinY(DisplayOptions gdo)
  {
    FEPointList fepointlist = getFEPointList(gdo);

    return fepointlist.getMinY();
  }
View Full Code Here

    return fepointlist.getMinY();
  }

  public int getMaxX(DisplayOptions gdo)
  {
    FEPointList fepointlist = getFEPointList(gdo);

    return fepointlist.getMaxX();
  }
View Full Code Here

    return fepointlist.getMaxX();
  }

  public int getMaxY(DisplayOptions gdo)
  {
    FEPointList fepointlist = getFEPointList(gdo);

    return fepointlist.getMaxY();
  }
View Full Code Here

    }
  }

  public boolean hasX(int x, DisplayOptions gdo)
  {
    FEPointList point_list = getFEPointList(gdo);

    return point_list.hasX(x);
  }
View Full Code Here

    return point_list.hasX(x);
  }

  public boolean hasY(int y, DisplayOptions gdo)
  {
    FEPointList point_list = getFEPointList(gdo);

    return point_list.hasY(y);
  }
View Full Code Here

TOP

Related Classes of org.fonteditor.elements.points.FEPointList

Copyright © 2018 www.massapicom. 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.