public HitTestBezierContext(double x, double y)
 {
     _state              = new HitTestState();
     _state.x            = x;
     _state.y            = y;
     _state.knot_idx_min = -1;
     _state.r_min        = 1e12;
 }
 public HitTestBezierContext(double x, double y)
 {
     _state = new HitTestState();
     _state.x = x;
     _state.y = y;
     _state.knot_idx_min = -1;
     _state.r_min = 1e12;
 }
示例#3
0
文件: Controls.cs 项目: sq/Libraries
 protected override bool OnHitTest(RectF box, Vector2 position, ref HitTestState state) => false;