Lines Matching refs:i_rects
743 int n_rects, i_rects;
805 i_rects = n_rects = 0;
809 if (i_rects)
811 rects, i_rects);
812 i_rects = 0;
820 if (i_rects <= n_rects)
824 rects[i_rects].x = (short)paint->x;
825 rects[i_rects].y = (short)(paint->y - font->ascent);
826 rects[i_rects].width = (unsigned short)paint->width;
827 rects[i_rects++].height = (unsigned short)(font->ascent + font->descent);
833 if (i_rects <= n_rects)
837 rects[i_rects].x = (short)seg->x1;
838 rects[i_rects].y = (short)scan->y;
839 rects[i_rects].width = (unsigned short)(seg->x2 - seg->x1);
840 rects[i_rects++].height = (unsigned short)(scan->next->y - scan->y);
848 if (i_rects)
849 XFillRectangles(XtDisplay(ctx), XtWindow(ctx), gc, rects, i_rects);
852 i_rects = 0;
855 if (i_rects == 0)
857 if (i_rects <= n_rects)
861 rects[i_rects].x = (short)paint->x;
862 rects[i_rects].y = (short)(paint->y - paint->max_ascent);
863 rects[i_rects].width = (unsigned short)paint->width;
864 rects[i_rects++].height = (unsigned short)(paint->max_ascent + paint->max_descent + 1);
872 if (i_rects == 0)
875 if (i_rects <= n_rects)
879 rects[i_rects].x = (short)seg->x1;
880 rects[i_rects].y = (short)scan->y;
881 rects[i_rects].width = (unsigned short)(seg->x2 - seg->x1);
882 rects[i_rects++].height = (unsigned short)(scan->next->y - scan->y);
886 if (i_rects)
887 XFillRectangles(XtDisplay(ctx), XtWindow(ctx), gc, rects, i_rects);