Lines Matching refs:bounds
37 miPointFixedBounds(int npoint, xPointFixed * points, BoxPtr bounds)
39 bounds->x1 = xFixedToInt(points->x);
40 bounds->x2 = xFixedToInt(xFixedCeil(points->x));
41 bounds->y1 = xFixedToInt(points->y);
42 bounds->y2 = xFixedToInt(xFixedCeil(points->y));
51 if (x1 < bounds->x1)
52 bounds->x1 = x1;
53 else if (x2 > bounds->x2)
54 bounds->x2 = x2;
55 if (y1 < bounds->y1)
56 bounds->y1 = y1;
57 else if (y2 > bounds->y2)
58 bounds->y2 = y2;
64 miTriangleBounds(int ntri, xTriangle * tris, BoxPtr bounds)
66 miPointFixedBounds(ntri * 3, (xPointFixed *) tris, bounds);