Lines Matching refs:rect
231 // if resulting rect too narrow, make it a bit wider
446 BRect rect(bounds);
447 rect.OffsetBy(view->ViewMode() == kListMode ? -2 : 0, -2);
448 BTextView* textView = new BTextView(rect, "WidgetTextView", rect,
468 rect.right = rect.left + textView->LineWidth();
469 rect.bottom = rect.top + textView->LineHeight() - 1 + 4;
483 rect.OffsetBy(-2, 0);
488 textView->MoveTo(rect.LeftTop());
489 textView->ResizeTo(std::min(fMaxWidth, rect.Width()), rect.Height());
490 textView->SetTextRect(rect);
621 // selection rect is alpha-blended on top. This all happens in