Lines Matching defs:image
69 XImage image;
70 memset(&image, 0, sizeof(image));
71 image.width = pm.width();
72 image.height = pm.height();
73 image.format = ZPixmap;
74 image.data = (char*) pm.addr();
75 image.byte_order = LSBFirst;
76 image.bitmap_unit = bitsPerPixel;
77 image.bitmap_bit_order = LSBFirst;
78 image.bitmap_pad = bitsPerPixel;
79 image.depth = 24;
80 image.bytes_per_line = pm.rowBytes() - pm.width() * pm.info().bytesPerPixel();
81 image.bits_per_pixel = bitsPerPixel;
82 if (!XInitImage(&image)) {
85 XPutImage(fDisplay, fWindow, fGC, &image, 0, 0, 0, 0, pm.width(), pm.height());