Lines Matching refs:where
110 PerspectiveBox::MouseDown(BPoint where)
112 fCanvasView->FilterMouse(&where);
113 fCanvasView->ConvertToCanvas(&where);
117 fCurrentState->SetOrigin(where);
130 PerspectiveBox::MouseMoved(BPoint where)
132 fCanvasView->FilterMouse(&where);
133 fCanvasView->ConvertToCanvas(&where);
135 if (fMousePos != where) {
136 fMousePos = where;
154 PerspectiveBox::MouseOver(BPoint where)
156 fCanvasView->ConvertToCanvas(&where);
158 fMousePos = where;
159 fCurrentState = _DragStateFor(where, fCanvasView->ZoomLevel());
338 //! where is expected in canvas view coordinates
340 PerspectiveBox::_DragStateFor(BPoint where, float canvasZoom)
352 float dLT = point_point_distance(fLeftTop, where);
353 float dRT = point_point_distance(fRightTop, where);
354 float dLB = point_point_distance(fLeftBottom, where);
355 float dRB = point_point_distance(fRightBottom, where);