Lines Matching defs:traps
98 miTrapezoidBounds (int ntrap, xTrapezoid *traps, BoxPtr box)
104 for (; ntrap; ntrap--, traps++)
108 if (!xTrapezoidValid(traps))
110 y1 = xFixedToInt (traps->top);
114 y2 = xFixedToInt (xFixedCeil (traps->bottom));
118 x1 = xFixedToInt (min (miLineFixedX (&traps->left, traps->top, FALSE),
119 miLineFixedX (&traps->left, traps->bottom, FALSE)));
123 x2 = xFixedToInt (xFixedCeil (max (miLineFixedX (&traps->right, traps->top, TRUE),
124 miLineFixedX (&traps->right, traps->bottom, TRUE))));
138 xTrapezoid *traps)
148 for (; ntrap; ntrap--, traps++)
149 (*ps->RasterizeTrapezoid) (pDst, traps, 0, 0);
158 xDst = traps[0].left.p1.x >> 16;
159 yDst = traps[0].left.p1.y >> 16;
161 miTrapezoidBounds (ntrap, traps, &bounds);
169 for (; ntrap; ntrap--, traps++)
170 (*ps->RasterizeTrapezoid) (pPicture, traps,
186 for (; ntrap; ntrap--, traps++)
187 miTrapezoids (op, pSrc, pDst, maskFormat, xSrc, ySrc, 1, traps);