Lines Matching refs:rect
83 TeamsColumn::DrawField(BField* field, BRect rect, BView* parent)
95 float y = rect.top + ((rect.Height() - r.Height()) / 2);
102 x = rect.left + sTextMargin;
103 width = rect.right - (x + r.Width()) - (2 * sTextMargin);
104 r.Set(x + r.Width(), rect.top, rect.right - width, rect.bottom);
108 x = rect.right - sTextMargin - r.Width();
109 width = (x - rect.left - (2 * sTextMargin));
110 r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
133 float width = rect.Width() - (2 * sTextMargin);
143 DrawString(stringField->ClippedString(), parent, rect);