Lines Matching defs:rect

48 BTitledColumn::DrawTitle(BRect rect, BView* parent)
50 float width = rect.Width() - (2 * kTEXT_MARGIN);
54 DrawString(out_string.String(), parent, rect);
66 BTitledColumn::DrawString(const char* string, BView* parent, BRect rect)
68 float width = rect.Width() - (2 * kTEXT_MARGIN);
75 y = rect.top + finfo.ascent
76 + (rect.Height() - ceilf(finfo.ascent + finfo.descent)) / 2.0f;
81 parent->MovePenTo(rect.left + kTEXT_MARGIN, y);
85 parent->MovePenTo(rect.left + kTEXT_MARGIN
90 parent->MovePenTo(rect.right - kTEXT_MARGIN
204 BStringColumn::DrawField(BField* _field, BRect rect, BView* parent)
206 float width = rect.Width() - (2 * kTEXT_MARGIN);
224 : field->String(), parent, rect);
321 BDateColumn::DrawField(BField* _field, BRect rect, BView* parent)
323 float width = rect.Width() - (2 * kTEXT_MARGIN);
326 if (field->Width() != rect.Width()) {
367 DrawString(field->ClippedString(), parent, rect);
418 BSizeColumn::DrawField(BField* _field, BRect rect, BView* parent)
424 float width = rect.Width() - (2 * kTEXT_MARGIN);
474 DrawString(string.String(), parent, rect);
528 BIntegerColumn::DrawField(BField *field, BRect rect, BView* parent)
533 float width = rect.Width() - (2 * kTEXT_MARGIN);
535 DrawString(string.String(), parent, rect);
558 GraphColumn::DrawField(BField* field, BRect rect, BView* parent)
568 BRect graphRect(rect);
587 parent->MovePenTo(rect.left + rect.Width() / 2 - width / 2, rect.bottom - FontHeight());
628 BBitmapColumn::DrawField(BField* field, BRect rect, BView* parent)
636 float y = rect.top + ((rect.Height() - r.Height()) / 2);
641 x = rect.left + kTEXT_MARGIN;
645 x = rect.left + ((rect.Width() - r.Width()) / 2);
649 x = rect.right - kTEXT_MARGIN - r.Width();