Lines Matching defs:rect

373 	BRect rect(fFrame.left, fFrame.top, fFrame.right, fFrame.bottom);
376 Parent()->ConvertToScreen(&rect);
377 if (!rect.Contains(where))
380 engine->StrokeRect(rect, (rgb_color){level * 30, level * 30, level * 30});
396 rect.InsetBy(1, 1);
398 engine->StrokeRect(rect, color);
399 rect.InsetBy(1, 1);
400 engine->StrokeRect(rect, color);
871 // move src rect to destination here for efficiency reasons
878 // copy children in the source rect and neither to copy onto
879 // children in the destination rect...
1079 BRect rect = fBitmapDestination;
1080 PenToScreenTransform().Apply(&rect);
1082 align_rect_to_pixels(&rect);
1085 // move rect up as much as needed
1086 while (rect.top > redraw->Frame().top)
1087 rect.OffsetBy(0.0, -(rect.Height() + 1));
1090 // move rect left as much as needed
1091 while (rect.left > redraw->Frame().left)
1092 rect.OffsetBy(-(rect.Width() + 1), 0.0);
1100 if (rect.IsValid()/* && drawingEngine->Lock()*/) {
1109 float start = rect.left;
1110 while (rect.top < redraw->Frame().bottom) {
1111 while (rect.left < redraw->Frame().right) {
1113 fBitmapSource, rect, fBitmapOptions);
1114 rect.OffsetBy(rect.Width() + 1, 0.0);
1116 rect.OffsetBy(start - rect.left, rect.Height() + 1);
1123 while (rect.left < redraw->Frame().right) {
1125 rect, fBitmapOptions);
1126 rect.OffsetBy(rect.Width() + 1, 0.0);
1129 rect.left = redraw->Frame().left;
1130 rect.right = redraw->Frame().right;
1131 redraw->Exclude(rect);
1135 while (rect.top < redraw->Frame().bottom) {
1137 rect, fBitmapOptions);
1138 rect.OffsetBy(0.0, rect.Height() + 1);
1141 rect.top = redraw->Frame().top;
1142 rect.bottom = redraw->Frame().bottom;
1143 redraw->Exclude(rect);
1148 rect, fBitmapOptions);
1149 redraw->Exclude(rect);
1318 // we couldn't provide the exact update rect to the client