Lines Matching defs:point

1853 BWindow::FindView(BPoint point) const
1859 // point is assumed to be in window coordinates,
1861 return _FindView(fTopView, point);
1900 BWindow::ConvertToScreen(BPoint* point) const
1902 point->x += fFrame.left;
1903 point->y += fFrame.top;
1908 BWindow::ConvertToScreen(BPoint point) const
1910 return point + fFrame.LeftTop();
1915 BWindow::ConvertFromScreen(BPoint* point) const
1917 point->x -= fFrame.left;
1918 point->y -= fFrame.top;
1923 BWindow::ConvertFromScreen(BPoint point) const
1925 return point - fFrame.LeftTop();
2372 BWindow::MoveTo(BPoint point)
2374 MoveTo(point.x, point.y);
2574 // We don't have valid app_server connection; there is no point
3476 // App Server sends screen coordinates, convert the point to
3477 // local view coordinates, then add the point in be:view_where
3839 BPoint point(frame.left + (frame.Width() / 2.0f) - (width / 2.0f),
3845 return point;
3853 if (point.x < screenFrame.left + borderWidth)
3854 point.x = screenFrame.left + borderWidth;
3855 else if (point.x + width > screenFrame.right - borderWidth)
3856 point.x = screenFrame.right - borderWidth - width;
3860 if (point.y < tabPosition)
3861 point.y = tabPosition;
3864 if (point.y < screenFrame.top + borderWidth)
3865 point.y = screenFrame.top + borderWidth;
3866 else if (point.y + height > screenFrame.bottom - borderWidth)
3867 point.y = screenFrame.bottom - borderWidth - height;
3869 return point;
3918 BWindow::_FindView(BView* view, BPoint point) const
3920 // point is assumed to be already in view's coordinates
3921 if (!view->IsHidden(view) && view->Bounds().Contains(point)) {
3927 BPoint childPoint = point - child->Frame().LeftTop();