Lines Matching defs:img
136 XMesaImage *img = Xcalloc(sizeof(*img));
138 img->width = p->drawable.width;
139 img->height = p->drawable.height;
140 img->bits_per_pixel = p->drawable.bitsPerPixel;
141 img->bytes_per_line = PixmapBytePad(width, p->drawable.depth);
142 img->data = malloc(height * img->bytes_per_line);
146 plane_mask, ZPixmap, img->data);
148 return img;