More exact picking for canvas editor

This commit is contained in:
Bernhard Liebl 2017-12-27 09:28:02 +01:00
parent 32d8b99bc3
commit 8505871a87
31 changed files with 345 additions and 46 deletions

View file

@ -52,6 +52,7 @@ protected:
public:
virtual Rect2 _edit_get_rect() const;
virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const;
void set_shape(const Ref<Shape2D> &p_shape);
Ref<Shape2D> get_shape() const;