Lines Matching defs:where
142 TransformBox::MouseDown(BPoint where)
144 fView->FilterMouse(&where);
145 TransformToCanvas(where);
149 fCurrentState->SetOrigin(where);
161 TransformBox::MouseMoved(BPoint where)
163 fView->FilterMouse(&where);
164 TransformToCanvas(where);
166 if (fMousePos != where) {
167 fMousePos = where;
187 TransformBox::MouseOver(BPoint where)
189 TransformToCanvas(where);
191 fMousePos = where;
192 fCurrentState = _DragStateFor(where, ZoomLevel());
201 TransformBox::DoubleClicked(BPoint where)
512 //! where is expected in canvas view coordinates
514 TransformBox::_DragStateFor(BPoint where, float canvasZoom)
527 if (point_point_distance(where, fPivot) < inset)
538 BPoint w = where;
556 float dLT = point_point_distance(fLeftTop, where);
557 float dRT = point_point_distance(fRightTop, where);
558 float dLB = point_point_distance(fLeftBottom, where);
559 float dRB = point_point_distance(fRightBottom, where);
575 float dL = point_line_dist(fLeftTop, fLeftBottom, where, inset);
576 float dR = point_line_dist(fRightTop, fRightBottom, where, inset);
577 float dT = point_line_dist(fLeftTop, fRightTop, where, inset);
578 float dB = point_line_dist(fLeftBottom, fRightBottom, where, inset);
595 BPoint w = where;