Lines Matching defs:prect
535 xRectangle *prect;
646 prect = malloc(RegionNumRects(prgn) * sizeof(xRectangle));
647 if (!prect)
653 free(prect);
662 for (i= numRects; --i >= 0; pbox++, prect++)
664 prect->x = pbox->x1 - draw_x_off;
665 prect->y = pbox->y1 - draw_y_off;
666 prect->width = pbox->x2 - pbox->x1;
667 prect->height = pbox->y2 - pbox->y1;
669 prect -= numRects;
670 (*pGC->ops->PolyFillRect)(drawable, pGC, numRects, prect);
671 free(prect);