Lines Matching defs:rect

171 	HorizontalLine(BRect rect)
173 BView (rect, NULL, B_FOLLOW_ALL, B_WILL_DRAW)
177 virtual void Draw(BRect rect)
179 FillRect(rect, B_SOLID_HIGH);
187 TMailWindow::TMailWindow(BRect rect, const char* title, TMailApp* app,
191 BWindow(rect, title, B_DOCUMENT_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS),
201 fZoom(rect),
1514 BRect rect;
1517 rect = button->Frame();
1519 rect = fToolBar->Bounds();
1522 ((rect.right - rect.left) / 2) - 16,
1523 (rect.bottom - rect.top) / 2));
1905 BRect rect = Frame();
1907 + (rect.Width() - fContentView->TextView()->Bounds().Width() + 6);
1916 + (rect.Height() - fContentView->TextView()->Bounds().Height());
1920 rect.right = rect.left + width;
1921 rect.bottom = rect.top + height;
1923 if (abs((int)(Frame().Width() - rect.Width())) < 5
1924 && abs((int)(Frame().Height() - rect.Height())) < 5) {
1925 rect = fZoom;
1930 if (rect.Width() > screenFrame.Width())
1931 rect.right = rect.left + screenFrame.Width();
1932 if (rect.Height() > screenFrame.Height())
1933 rect.bottom = rect.top + screenFrame.Height();
1935 if (rect.right > screenFrame.right) {
1936 rect.left -= rect.right - screenFrame.right;
1937 rect.right = screenFrame.right;
1939 if (rect.bottom > screenFrame.bottom) {
1940 rect.top -= rect.bottom - screenFrame.bottom;
1941 rect.bottom = screenFrame.bottom;
1943 if (rect.left < screenFrame.left) {
1944 rect.right += screenFrame.left - rect.left;
1945 rect.left = screenFrame.left;
1947 if (rect.top < screenFrame.top) {
1948 rect.bottom += screenFrame.top - rect.top;
1949 rect.top = screenFrame.top;
1953 ResizeTo(rect.Width(), rect.Height());
1954 MoveTo(rect.LeftTop());
2058 BRect rect(0, 0, pageRect.Width(), header_height);
2059 BBitmap bmap(rect, B_BITMAP_ACCEPTS_VIEWS, B_RGBA32);
2062 print.DrawView(&header_view, rect, BPoint(0.0, 0.0));