Lines Matching refs:where
110 CanvasView::MouseDown(BPoint where)
124 where.x = roundf(where.x);
125 where.y = roundf(where.y);
127 fScrollTrackingStart = where - fScrollOffsetStart;
132 StateView::MouseDown(where);
138 CanvasView::MouseUp(BPoint where)
145 uint32 transit = Bounds().Contains(where) ?
147 StateView::MouseMoved(where, transit, NULL);
149 StateView::MouseUp(where);
155 CanvasView::MouseMoved(BPoint where, uint32 transit, const BMessage* dragMessage)
159 GetMouse(&where, &buttons, false);
161 MouseUp(where);
164 where.x = roundf(where.x);
165 where.y = roundf(where.y);
166 where -= ScrollOffset();
167 BPoint offset = where - fScrollTrackingStart;
172 StateView::MouseMoved(where, transit, dragMessage);
178 CanvasView::FilterMouse(BPoint* where) const
183 ConvertToCanvas(where);
184 where->x = floorf(where->x + 0.5);
185 where->y = floorf(where->y + 0.5);
186 ConvertFromCanvas(where);
190 ConvertToCanvas(where);
191 where->x /= 2.0;
192 where->y /= 2.0;
193 where->x = floorf(where->x + 0.5);
194 where->y = floorf(where->y + 0.5);
195 where->x *= 2.0;
196 where->y *= 2.0;
197 ConvertFromCanvas(where);
201 ConvertToCanvas(where);
202 where->x /= 4.0;
203 where->y /= 4.0;
204 where->x = floorf(where->x + 0.5);
205 where->y = floorf(where->y + 0.5);
206 where->x *= 4.0;
207 where->y *= 4.0;
208 ConvertFromCanvas(where);
219 CanvasView::MouseWheelChanged(BPoint where, float x, float y)
221 if (!Bounds().Contains(where))