Lines Matching defs:rect
99 PartitionColumn::DrawField(BField* field, BRect rect, BView* parent)
111 float y = rect.top + ((rect.Height() - r.Height()) / 2);
118 x = rect.left + sTextMargin;
119 width = rect.right - (x + r.Width()) - (2 * sTextMargin);
120 r.Set(x + r.Width(), rect.top, rect.right - width, rect.bottom);
124 x = rect.right - sTextMargin - r.Width();
125 width = (x - rect.left - (2 * sTextMargin));
126 r.Set(rect.left, rect.top, rect.left + width, rect.bottom);
149 float width = rect.Width() - (2 * sTextMargin);
159 DrawString(stringField->ClippedString(), parent, rect);