Home | History | Annotate | Download | only in x11

Lines Matching defs:dpy

133 fill_bitmap(Display * dpy, Window win, GC gc,
142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
143 XSetForeground(dpy, gc, 0);
144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
145 XSetForeground(dpy, gc, 1);
150 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
163 XFreePixmap(dpy, pixmap);
219 Display *dpy;
232 dpy = glXGetCurrentDisplay();
233 if (!dpy)
235 win = RootWindow(dpy, DefaultScreen(dpy));
237 fs = XQueryFont(dpy, font);
285 pixmap = XCreatePixmap(dpy, win, 10, 10, 1);
286 values.foreground = BlackPixel(dpy, DefaultScreen(dpy));
287 values.background = WhitePixel(dpy, DefaultScreen(dpy));
290 gc = XCreateGC(dpy, pixmap, valuemask, &values);
291 XFreePixmap(dpy, pixmap);
349 fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm);
368 XFreeGC(dpy, gc);