Lines Matching refs:image
4 * This file contains image related utility functions.
24 * This function takes an image and copies the data into an
38 TkAlignImageData(image, alignment, bitOrder)
39 XImage *image; /* Image to be aligned. */
48 if (image->bits_per_pixel != 1) {
49 panic("TkAlignImageData: Can't handle image depths greater than 1.");
56 dataWidth = image->bytes_per_line;
61 data = ckalloc(dataWidth * image->height);
64 for (i = 0; i < image->height; i++) {
65 srcPtr = &image->data[i * image->bytes_per_line];
67 if (j >= image->bytes_per_line) {
69 } else if (image->bitmap_bit_order != bitOrder) {