Lines Matching refs:bounds

325 	// constrain rect to passed bitmap bounds
398 BRect bounds = rect;
400 bounds.InsetBy(fExtendWidth, fExtendWidth);
402 if (!fClippingRegion.Intersects(bounds))
433 BRect bounds = _BuildBounds(points, 4);
435 bounds.InsetBy(fExtendWidth, fExtendWidth);
437 if (!fClippingRegion.Intersects(bounds))
450 BRect bounds = _BuildBounds(points, 4);
451 if (!fClippingRegion.Intersects(bounds))
465 BRect bounds = rect;
467 bounds.InsetBy(fExtendWidth, fExtendWidth);
469 if (!fClippingRegion.Intersects(bounds))
495 BRect bounds, bool filled, bool closed)
497 BRect clipBounds = bounds;
507 message.Add(bounds);
517 BRect bounds, const BGradient& gradient, bool closed)
519 if (!fClippingRegion.Intersects(bounds))
525 message.Add(bounds);
540 BRect bounds(point, point);
541 bounds.InsetBy(fExtendWidth, fExtendWidth);
543 if (!fClippingRegion.Intersects(bounds))
559 BRect bounds = _BuildBounds(points, 2);
561 if (!fClippingRegion.Intersects(bounds))
575 BRect bounds = rect;
576 bounds.InsetBy(fExtendWidth, fExtendWidth);
578 if (!fClippingRegion.Intersects(bounds))
619 BRect bounds = rect;
620 bounds.InsetBy(fExtendWidth, fExtendWidth);
622 if (!fClippingRegion.Intersects(bounds))
696 BRect bounds = rect;
698 bounds.InsetBy(fExtendWidth, fExtendWidth);
700 if (!fClippingRegion.Intersects(bounds))
730 RemoteDrawingEngine::DrawShape(const BRect& bounds, int32 opCount,
734 BRect clipBounds = bounds;
744 message.Add(bounds);
755 RemoteDrawingEngine::FillShape(const BRect& bounds, int32 opCount,
760 if (!fClippingRegion.Intersects(bounds))
766 message.Add(bounds);
778 RemoteDrawingEngine::DrawTriangle(BPoint* points, const BRect& bounds,
781 BRect clipBounds = bounds;
792 message.Add(bounds);
797 RemoteDrawingEngine::FillTriangle(BPoint* points, const BRect& bounds,
800 if (!fClippingRegion.Intersects(bounds))
807 message.Add(bounds);
816 BRect bounds = _BuildBounds(points, 2);
818 if (!fClippingRegion.Intersects(bounds))
950 BRect bounds)
959 message.Add(bounds);
1060 BRect bounds(1000000, 1000000, 0, 0);
1062 bounds.left = min_c(bounds.left, points[i].x);
1063 bounds.top = min_c(bounds.top, points[i].y);
1064 bounds.right = max_c(bounds.right, points[i].x);
1065 bounds.bottom = max_c(bounds.bottom, points[i].y);
1068 return bounds;