Home | History | Annotate | Download | only in x

Lines Matching refs:image

76   XImage image;
77 memset(&image, 0, sizeof(image));
79 image.width = data_width;
80 image.height = data_height;
81 image.format = ZPixmap;
82 image.byte_order = LSBFirst;
83 image.bitmap_unit = 8;
84 image.bitmap_bit_order = LSBFirst;
85 image.depth = depth;
86 image.bits_per_pixel = pixmap_bpp;
87 image.bytes_per_line = data_width * pixmap_bpp / 8;
90 image.red_mask = 0xff0000;
91 image.green_mask = 0xff00;
92 image.blue_mask = 0xff;
97 if (image.red_mask == vis->red_mask &&
98 image.green_mask == vis->green_mask &&
99 image.blue_mask == vis->blue_mask) {
100 image.data = const_cast<char*>(reinterpret_cast<const char*>(data));
101 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image,
127 image.data = reinterpret_cast<char*>(orig_bitmap32);
128 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image,
153 image.data = reinterpret_cast<char*>(orig_bitmap16);
154 image.red_mask = 0xf800;
155 image.green_mask = 0x07e0;
156 image.blue_mask = 0x001f;
158 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image,