Lines Matching defs:width
53 printf("%slbearing = %d, rbearing = %d, width = %d\n",
54 prefix, ch->lbearing, ch->rbearing, ch->width);
82 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap)
87 for (x = 0; x < 8 * width; x++)
92 for (x = 0; x < 8 * width; x++)
93 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x %
97 for (x = 0; x < width; x++)
98 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]);
108 in the graphics context GC. WIDTH is the width in bytes
133 unsigned int width, unsigned int height,
141 pixmap = XCreatePixmap(dpy, RootWindow(dpy, screen), 8 * width, height, 1);
143 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
155 for (x = 0; x < 8 * width; x++)
157 bitmap[width * (height - y - 1) + x / 8] |=
296 unsigned int width, height, bm_width, bm_height;
324 width = ch->rbearing - ch->lbearing;
328 dx = ch->width;
335 /* Round the width to a multiple of eight. We will use this also
338 bm_width = (width + 7) / 8;
347 glBitmap(width, height, x0, y0, dx, dy, bm);
350 printf("width/height = %u/%u\n", width, height);