Lines Matching refs:bounds
70 BRect bounds;
73 return bounds;
76 bounds.left = ptList[0].x;
77 bounds.top = ptList[0].y;
78 bounds.right = ptList[0].x;
79 bounds.bottom = ptList[0].y;
82 if (bounds.left > ptList[i].x)
83 bounds.left = ptList[i].x;
85 if (bounds.top > ptList[i].y)
86 bounds.top = ptList[i].y;
88 if (bounds.right < ptList[i].x)
89 bounds.right = ptList[i].x;
91 if (bounds.bottom < ptList[i].y)
92 bounds.bottom = ptList[i].y;
95 return bounds;