comparison OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h @ 1806:0840a25c6d41

removed hard-coded test in AnnotationsSceneLayer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 May 2021 17:11:10 +0200
parents 5a872e69c74f
children 79a5838739a6
comparison
equal deleted inserted replaced
1805:de7cea710008 1806:0840a25c6d41
97 Tool GetActiveTool() const 97 Tool GetActiveTool() const
98 { 98 {
99 return activeTool_; 99 return activeTool_;
100 } 100 }
101 101
102 void AddSegmentAnnotation(const ScenePoint2D& p1,
103 const ScenePoint2D& p2);
104
105 void AddCircleAnnotation(const ScenePoint2D& p1,
106 const ScenePoint2D& p2);
107
108 void AddAngleAnnotation(const ScenePoint2D& p1,
109 const ScenePoint2D& p2,
110 const ScenePoint2D& p3);
111
102 void Render(Scene2D& scene); 112 void Render(Scene2D& scene);
103 113
104 bool ClearHover(); 114 bool ClearHover();
105 115
106 bool SetMouseHover(const ScenePoint2D& p /* expressed in canvas coordinates */, 116 bool SetMouseHover(const ScenePoint2D& p /* expressed in canvas coordinates */,