Lines Matching refs:image_width
135 static ulg image_width, image_height, image_rowbytes; variable
303 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in main()
557 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, in rpng_x_create_window()
579 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()
634 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); in rpng_x_create_window()
651 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
654 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
657 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window()
667 (char *)xdata, image_width, image_height, pad, 0); in rpng_x_create_window()
706 image_width, image_rowbytes, ximage_rowbytes)) in rpng_x_display_image()
718 for (i = image_width; i > 0; --i) { in rpng_x_display_image()
745 for (i = image_width; i > 0; --i) { in rpng_x_display_image()
779 (int)lastrow, image_width, 16); in rpng_x_display_image()
792 for (i = image_width; i > 0; --i) { in rpng_x_display_image()
807 for (i = image_width; i > 0; --i) { in rpng_x_display_image()
842 (int)lastrow, image_width, 16); in rpng_x_display_image()
857 (int)lastrow, image_width, image_height-lastrow); in rpng_x_display_image()