Lines Matching refs:xp
31 InitRectangles(XParms xp, Parms p, int64_t reps)
39 pgc = xp->fggc;
45 XSetLineAttributes(xp->d, xp->bggc, lw, LineSolid, CapButt, JoinMiter);
46 XSetLineAttributes(xp->d, xp->fggc, lw, LineSolid, CapButt, JoinMiter);
54 if (xp->pack) {
80 SetFillStyle(xp, p);
86 DoRectangles(XParms xp, Parms p, int64_t reps)
89 XFillRectangles(xp->d, xp->w, pgc, rects, p->objects);
90 if (pgc == xp->bggc)
91 pgc = xp->fggc;
93 pgc = xp->bggc;
99 DoOutlineRectangles(XParms xp, Parms p, int64_t reps)
102 XDrawRectangles (xp->d, xp->w, pgc, rects, p->objects);
103 if (pgc == xp->bggc)
104 pgc = xp->fggc;
106 pgc = xp->bggc;
112 EndRectangles(XParms xp, Parms p)