Lines Matching refs:height
83 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap)
91 for (y = 0; y < height; y++) {
94 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x %
99 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]);
110 and HEIGHT is the height in bits.
134 unsigned int width, unsigned int height,
142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
155 for (y = 0; y < height; y++)
158 bitmap[width * (height - y - 1) + x / 8] |=
299 unsigned int width, height, bm_width, bm_height;
328 height = ch->ascent + ch->descent;
343 bm_height = height;
351 glBitmap(width, height, x0, y0, dx, dy, bm);
354 printf("width/height = %u/%u\n", width, height);