Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/21/15 14:18:31 (9 years ago)
Author:
jkarder
Message:

#1265: merged changes from abeham

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/Interfaces/IChart.cs

    r12536 r13045  
    2727namespace HeuristicLab.Visualization {
    2828  public interface IChart {
    29     ChartMode Mode { get; set; }
     29    bool Enabled { get; set; }
     30
    3031    PointD LowerLeft { get; }
    3132    PointD UpperRight { get; }
     
    3536    SizeD WorldToPixelRatio { get; }
    3637    IGroup Group { get; }
    37     bool UpdateEnabled { get; }
    3838
    3939    PointD TransformPixelToWorld(Point point);
     
    4343
    4444    void SetPosition(PointD lowerLeft, PointD upperRight);
    45     void SetPosition(double x1, double y1, double x2, double y2);
    4645    void Move(Offset delta);
    47     void Move(double dx, double dy);
    4846
     47    void ZoomIn(Point mousePosition);
    4948    void ZoomIn(PointD lowerLeft, PointD upperRight);
    50     void ZoomIn(double x1, double y1, double x2, double y2);
    5149    void ZoomIn(Point lowerLeft, Point upperRight);
    52     void ZoomIn(int x1, int y1, int x2, int y2);
    5350    void ZoomOut();
    5451    void Unzoom();
    5552
     53    void IntoForeground(IPrimitive primitive);
     54    void IntoBackground(IPrimitive primitive);
     55    void OneLayerUp(IPrimitive primitive);
     56    void OneLayerDown(IPrimitive primitive);
     57
     58    string GetToolTipText(Point point);
     59    Cursor GetCursor(Point point);
     60
    5661    IPrimitive GetPrimitive(Point point);
    57     IPrimitive GetPrimitive(int x, int y);
    58     IList<IPrimitive> GetAllPrimitives(Point point);
    59     IList<IPrimitive> GetAllPrimitives(int x, int y);
    60 
    61     Cursor GetCursor(Point point);
    62     Cursor GetCursor(int x, int y);
    63     string GetToolTipText(Point point);
    64     string GetToolTipText(int x, int y);
    65 
    66     void MouseClick(Point point, MouseButtons button);
    67     void MouseClick(int x, int y, MouseButtons button);
    68     void MouseDoubleClick(Point point, MouseButtons button);
    69     void MouseDoubleClick(int x, int y, MouseButtons button);
    70     void MouseMove(Point start, Point end);
    71     void MouseMove(int x1, int y1, int x2, int y2);
    72     void MouseDrag(Point start, Point end, MouseButtons button);
    73     void MouseDrag(int x1, int y1, int x2, int y2, MouseButtons button);
     62    IEnumerable<IPrimitive> GetAllPrimitives(Point point);
    7463
    7564    void Render(Graphics graphics, int width, int height);
    7665
    77     event EventHandler Update;
    78     void EnforceUpdate();
     66    event EventHandler RedrawRequired;
     67    void RaiseRedrawRequired();
    7968  }
    8069}
Note: See TracChangeset for help on using the changeset viewer.