Lines Matching refs:xp
39 InitText(XParms xp, Parms p, int64_t reps)
43 font = XLoadQueryFont(xp->d, p->font);
51 bfont = XLoadQueryFont(xp->d, p->bfont);
66 XChangeGC(xp->d, xp->fggc, GCFont, &gcv);
67 XChangeGC(xp->d, xp->bggc, GCFont, &gcv);
69 SetFillStyle(xp, p);
125 InitText16(XParms xp, Parms p, int64_t reps)
131 font = XLoadQueryFont(xp->d, p->font);
144 bfont = XLoadQueryFont(xp->d, p->bfont);
164 XChangeGC(xp->d, xp->fggc, GCFont, &gcv);
165 XChangeGC(xp->d, xp->bggc, GCFont, &gcv);
225 DoText(XParms xp, Parms p, int64_t reps)
233 xp->d, xp->w, xp->fggc, XPOS, ypos, charBuf[line], charsPerLine);
247 DoText16(XParms xp, Parms p, int64_t reps)
255 xp->d, xp->w, xp->fggc, XPOS, ypos, (XChar2b *)charBuf[line], charsPerLine);
269 DoPolyText(XParms xp, Parms p, int64_t reps)
277 xp->d, xp->w, xp->fggc, XPOS, ypos, &items[line*SEGS], SEGS);
291 DoPolyText16(XParms xp, Parms p, int64_t reps)
299 xp->d, xp->w, xp->fggc, XPOS, ypos, (XTextItem16 *)&items[line*SEGS], SEGS);
313 DoImageText(XParms xp, Parms p, int64_t reps)
321 xp->d, xp->w, xp->fggc, XPOS, ypos, charBuf[line], charsPerLine);
335 DoImageText16(XParms xp, Parms p, int64_t reps)
343 xp->d, xp->w, xp->fggc, XPOS, ypos, (XChar2b *)charBuf[line], charsPerLine);
357 ClearTextWin(XParms xp, Parms p)
359 XClearWindow(xp->d, xp->w);
363 EndText(XParms xp, Parms p)
371 XFreeFont(xp->d, font);
373 XFreeFont(xp->d, bfont);
377 EndText16(XParms xp, Parms p)
393 XFreeFont(xp->d, font);
395 XFreeFont(xp->d, bfont);
408 InitAAText(XParms xp, Parms p, int64_t reps)
419 match = XftFontMatch(xp->d, DefaultScreen(xp->d), pat, &result);
426 aafont = XftFontOpenPattern (xp->d, match);
439 XftFontClose (xp->d, aafont);
447 XftFontClose (xp->d, aafont);
451 aadraw = XftDrawCreate (xp->d, xp->w,
452 xp->vinfo.visual,
453 xp->cmap);
458 XftFontClose (xp->d, aafont);
465 if (!XftColorAllocValue (xp->d,
466 xp->vinfo.visual,
467 xp->cmap,
471 XftFontClose (xp->d, aafont);
502 DoAAText(XParms xp, Parms p, int64_t reps)
524 EndAAText(XParms xp, Parms p)
531 XftFontClose (xp->d, aafont);
532 XftColorFree (xp->d,
533 xp->vinfo.visual,
534 xp->cmap,