Lines Matching defs:where
683 // draw over portion of image where caption is located
1377 BPoint where;
1379 GetMouse(&where, &buttons);
1383 ZoomIn(where);
1385 ZoomOut(where);
1559 ShowImageView::SetZoom(float zoom, BPoint where)
1579 if (where.x == -1) {
1580 where.Set(Bounds().Width() / 2, Bounds().Height() / 2);
1581 offset = where;
1582 where += Bounds().LeftTop();
1584 offset = where - Bounds().LeftTop();
1592 offset.x = (int)(where.x * fZoom / oldZoom + 0.5) - offset.x;
1593 offset.y = (int)(where.y * fZoom / oldZoom + 0.5) - offset.y;
1604 ShowImageView::ZoomIn(BPoint where)
1615 SetZoom(zoom, where);
1620 ShowImageView::ZoomOut(BPoint where)
1631 SetZoom(zoom, where);