Changeset 13045 for branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/Interfaces/IChart.cs
- Timestamp:
- 10/21/15 14:18:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/Interfaces/IChart.cs
r12536 r13045 27 27 namespace HeuristicLab.Visualization { 28 28 public interface IChart { 29 ChartMode Mode { get; set; } 29 bool Enabled { get; set; } 30 30 31 PointD LowerLeft { get; } 31 32 PointD UpperRight { get; } … … 35 36 SizeD WorldToPixelRatio { get; } 36 37 IGroup Group { get; } 37 bool UpdateEnabled { get; }38 38 39 39 PointD TransformPixelToWorld(Point point); … … 43 43 44 44 void SetPosition(PointD lowerLeft, PointD upperRight); 45 void SetPosition(double x1, double y1, double x2, double y2);46 45 void Move(Offset delta); 47 void Move(double dx, double dy);48 46 47 void ZoomIn(Point mousePosition); 49 48 void ZoomIn(PointD lowerLeft, PointD upperRight); 50 void ZoomIn(double x1, double y1, double x2, double y2);51 49 void ZoomIn(Point lowerLeft, Point upperRight); 52 void ZoomIn(int x1, int y1, int x2, int y2);53 50 void ZoomOut(); 54 51 void Unzoom(); 55 52 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 56 61 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); 74 63 75 64 void Render(Graphics graphics, int width, int height); 76 65 77 event EventHandler Update;78 void EnforceUpdate();66 event EventHandler RedrawRequired; 67 void RaiseRedrawRequired(); 79 68 } 80 69 }
Note: See TracChangeset
for help on using the changeset viewer.