Lines Matching refs:pixel
81 int npixelvalues; /* number of pixel values */
91 char *pix_font = NULL; /* for displaying pixel value */
151 " -bg colororpixelvalue background color or %pixel number",
377 char *back_color) /* color name or pixel value */
385 unsigned long border_pixel; /* pixel value for border */
538 border_pixel = cdef.pixel;
565 if (back_color[0] == '%') { /* pixel specifier */
581 back_pixel = cdef.pixel;
631 R, G, B offsets & order in the pixel.
924 * Button1 press displays pixel value.
988 /* look for new pixel */
996 x, y, col->pixel, col->red, col->green, col->blue);
1000 def.pixel = XGetPixel (image, x, y);
1001 if (def.pixel >= 0 && def.pixel < npixelvalues) {
1005 x, y, def.pixel, def.red, def.green, def.blue);
1009 x, y, def.pixel);
1068 unsigned long pixel; /* image pixel values */
1069 unsigned long prev_pixel; /* last pixel set with XChangeGC */
1094 * Repaint the image; be somewhat clever by only drawing when the pixel
1114 pixel = XGetPixel (image, column, row);
1117 * If the current pixel is different from the previous pixel,
1125 if (pixel != gcv.foreground) {
1138 gcv.foreground = pixel;
1211 /* We don't care for the border pixel, but must set it
1279 unsigned long pixel;
1281 pixel = ((unsigned long)((unsigned short)(col->red) >> rgb_shift)
1287 XPutPixel(image, x, y, pixel);