• Home
  • Raw
  • Download

Lines Matching refs:ximage

317     if (magick_windows[i]->ximage != (XImage *) NULL)  in DestroyXResources()
319 XDestroyImage(magick_windows[i]->ximage); in DestroyXResources()
320 magick_windows[i]->ximage=(XImage *) NULL; in DestroyXResources()
2004 (void) FormatLocaleFile(file," depth: %d\n",windows->image.ximage->depth); in XDisplayImageInfo()
2013 windows->image.ximage->width,windows->image.ximage->height); in XDisplayImageInfo()
2113 static void XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception) in XDitherImage() argument
2206 scanline_pad=(unsigned int) (ximage->bytes_per_line- in XDitherImage()
2207 ((size_t) (ximage->width*ximage->bits_per_pixel) >> 3)); in XDitherImage()
2210 q=ximage->data; in XDitherImage()
2752 if (window_info->ximage != (XImage *) NULL) in XFreeResources()
2753 XDestroyImage(window_info->ximage); in XFreeResources()
3853 *ximage; in XGetWindowColor() local
3896 ximage=XGetImage(display,target_window,x,y,1,1,AllPlanes,ZPixmap); in XGetWindowColor()
3897 if (ximage == (XImage *) NULL) in XGetWindowColor()
3899 color.pixel=XGetPixel(ximage,0,0); in XGetWindowColor()
3900 XDestroyImage(ximage); in XGetWindowColor()
4178 *ximage; in XGetWindowImage() local
4212 ximage=XGetImage(display,window_info[id].window,(int) in XGetWindowImage()
4216 if (ximage == (XImage *) NULL) in XGetWindowImage()
4244 XDestroyImage(ximage); in XGetWindowImage()
4312 XDestroyImage(ximage); in XGetWindowImage()
4321 composite_image->columns=(size_t) ximage->width; in XGetWindowImage()
4322 composite_image->rows=(size_t) ximage->height; in XGetWindowImage()
4378 pixel=XGetPixel(ximage,x,y); in XGetWindowImage()
4403 pixel=XGetPixel(ximage,x,y); in XGetWindowImage()
4436 XDestroyImage(ximage); in XGetWindowImage()
4460 index=(Quantum) XGetPixel(ximage,x,y); in XGetWindowImage()
4474 XDestroyImage(ximage); in XGetWindowImage()
4597 window->ximage=(XImage *) NULL; in XGetWindowInfo()
5424 *ximage; in XMakeImage() local
5510 ximage=(XImage *) NULL; in XMakeImage()
5521 ximage=XShmCreateImage(display,window->visual,(unsigned int) depth,format, in XMakeImage()
5524 if (ximage == (XImage *) NULL) in XMakeImage()
5528 length=(size_t) ximage->bytes_per_line*ximage->height; in XMakeImage()
5529 if (CheckOverflowException(length,ximage->bytes_per_line,ximage->height)) in XMakeImage()
5542 if (ximage != (XImage *) NULL) in XMakeImage()
5543 XDestroyImage(ximage); in XMakeImage()
5544 ximage=(XImage *) NULL; in XMakeImage()
5573 ximage->data=segment_info[1].shmaddr; in XMakeImage()
5583 ximage->data=NULL; in XMakeImage()
5584 XDestroyImage(ximage); in XMakeImage()
5585 ximage=(XImage *) NULL; in XMakeImage()
5598 ximage=XCreateImage(display,window->visual,(unsigned int) depth,format,0, in XMakeImage()
5600 if (ximage == (XImage *) NULL) in XMakeImage()
5608 length=(size_t) ximage->bytes_per_line*ximage->height; in XMakeImage()
5613 ximage->width,ximage->height); in XMakeImage()
5615 ximage->format); in XMakeImage()
5617 ximage->byte_order); in XMakeImage()
5619 " bitmap unit, bit order, pad: %d %d %d",ximage->bitmap_unit, in XMakeImage()
5620 ximage->bitmap_bit_order,ximage->bitmap_pad); in XMakeImage()
5622 ximage->depth); in XMakeImage()
5624 ximage->bytes_per_line); in XMakeImage()
5626 ximage->bits_per_pixel); in XMakeImage()
5628 " red, green, blue masks: 0x%lx 0x%lx 0x%lx",ximage->red_mask, in XMakeImage()
5629 ximage->green_mask,ximage->blue_mask); in XMakeImage()
5633 if (ximage->format == XYBitmap) in XMakeImage()
5635 ximage->data=(char *) AcquireQuantumMemory((size_t) in XMakeImage()
5636 ximage->bytes_per_line,(size_t) ximage->depth*ximage->height); in XMakeImage()
5637 if (ximage->data != (char *) NULL) in XMakeImage()
5638 (void) memset(ximage->data,0,(size_t) in XMakeImage()
5639 ximage->bytes_per_line*ximage->depth*ximage->height); in XMakeImage()
5643 ximage->data=(char *) AcquireQuantumMemory((size_t) in XMakeImage()
5644 ximage->bytes_per_line,(size_t) ximage->height); in XMakeImage()
5645 if (ximage->data != (char *) NULL) in XMakeImage()
5646 (void) memset(ximage->data,0,(size_t) in XMakeImage()
5647 ximage->bytes_per_line*ximage->height); in XMakeImage()
5650 if (ximage->data == (char *) NULL) in XMakeImage()
5655 XDestroyImage(ximage); in XMakeImage()
5656 ximage=(XImage *) NULL; in XMakeImage()
5660 if (window->ximage != (XImage *) NULL) in XMakeImage()
5665 length=(size_t) window->ximage->bytes_per_line*window->ximage->height; in XMakeImage()
5683 window->ximage->data=(char *) NULL; in XMakeImage()
5687 if (window->ximage->data != (char *) NULL) in XMakeImage()
5688 free(window->ximage->data); in XMakeImage()
5689 window->ximage->data=(char *) NULL; in XMakeImage()
5690 XDestroyImage(window->ximage); in XMakeImage()
5691 window->ximage=(XImage *) NULL; in XMakeImage()
5703 window->ximage=ximage; in XMakeImage()
5763 if ((ximage->byte_order == LSBFirst) || ((ximage->format == XYBitmap) && in XMakeImage()
5764 (ximage->bitmap_bit_order == LSBFirst))) in XMakeImage()
5765 XMakeImageLSBFirst(resource_info,window,window->image,ximage, in XMakeImage()
5768 XMakeImageMSBFirst(resource_info,window,window->image,ximage, in XMakeImage()
5850 const XWindowInfo *window,Image *image,XImage *ximage,XImage *matte_image, in XMakeImageLSBFirst() argument
5923 scanline_pad=(unsigned int) (ximage->bytes_per_line-((ximage->width* in XMakeImageLSBFirst()
5924 ximage->bits_per_pixel) >> 3)); in XMakeImageLSBFirst()
5927 q=(unsigned char *) ximage->data; in XMakeImageLSBFirst()
5930 if (ximage->format == XYBitmap) in XMakeImageLSBFirst()
5984 switch (ximage->bits_per_pixel) in XMakeImageLSBFirst()
6087 XDitherImage(canvas,ximage,exception); in XMakeImageLSBFirst()
6117 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageLSBFirst()
6140 switch (ximage->bits_per_pixel) in XMakeImageLSBFirst()
6245 XDitherImage(canvas,ximage,exception); in XMakeImageLSBFirst()
6266 if ((ximage->bits_per_pixel == 32) && (map_info->red_max == 255) && in XMakeImageLSBFirst()
6310 if ((ximage->bits_per_pixel == 32) && (map_info->red_max == 255) && in XMakeImageLSBFirst()
6364 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageLSBFirst()
6467 const XWindowInfo *window,Image *image,XImage *ximage,XImage *matte_image, in XMakeImageMSBFirst() argument
6540 scanline_pad=(unsigned int) (ximage->bytes_per_line-((ximage->width* in XMakeImageMSBFirst()
6541 ximage->bits_per_pixel) >> 3)); in XMakeImageMSBFirst()
6544 q=(unsigned char *) ximage->data; in XMakeImageMSBFirst()
6547 if (ximage->format == XYBitmap) in XMakeImageMSBFirst()
6601 switch (ximage->bits_per_pixel) in XMakeImageMSBFirst()
6706 XDitherImage(canvas,ximage,exception); in XMakeImageMSBFirst()
6739 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageMSBFirst()
6765 switch (ximage->bits_per_pixel) in XMakeImageMSBFirst()
6870 XDitherImage(canvas,ximage,exception); in XMakeImageMSBFirst()
6891 if ((ximage->bits_per_pixel == 32) && (map_info->red_max == 255) && in XMakeImageMSBFirst()
6935 if ((ximage->bits_per_pixel == 32) && (map_info->red_max == 255) && in XMakeImageMSBFirst()
6992 bytes_per_pixel=(unsigned int) (ximage->bits_per_pixel >> 3); in XMakeImageMSBFirst()
7126 *ximage; in XMakeMagnifyImage() local
7137 while ((magnify*windows->image.ximage->width) < windows->magnify.width) in XMakeMagnifyImage()
7139 while ((magnify*windows->image.ximage->height) < windows->magnify.height) in XMakeMagnifyImage()
7172 ximage=windows->image.ximage; in XMakeMagnifyImage()
7173 width=(unsigned int) windows->magnify.ximage->width; in XMakeMagnifyImage()
7174 height=(unsigned int) windows->magnify.ximage->height; in XMakeMagnifyImage()
7176 (windows->magnify.x >= windows->image.ximage->width)) in XMakeMagnifyImage()
7177 windows->magnify.x=windows->image.ximage->width >> 1; in XMakeMagnifyImage()
7182 if (x > (int) (ximage->width-(width/magnify))) in XMakeMagnifyImage()
7183 x=ximage->width-width/magnify; in XMakeMagnifyImage()
7185 (windows->magnify.y >= windows->image.ximage->height)) in XMakeMagnifyImage()
7186 windows->magnify.y=windows->image.ximage->height >> 1; in XMakeMagnifyImage()
7191 if (y > (int) (ximage->height-(height/magnify))) in XMakeMagnifyImage()
7192 y=ximage->height-height/magnify; in XMakeMagnifyImage()
7193 q=(unsigned char *) windows->magnify.ximage->data; in XMakeMagnifyImage()
7194 scanline_pad=(unsigned int) (windows->magnify.ximage->bytes_per_line- in XMakeMagnifyImage()
7195 ((width*windows->magnify.ximage->bits_per_pixel) >> 3)); in XMakeMagnifyImage()
7196 if (ximage->bits_per_pixel < 8) in XMakeMagnifyImage()
7212 switch (ximage->bitmap_bit_order) in XMakeMagnifyImage()
7221 if (ximage->format == XYBitmap) in XMakeMagnifyImage()
7239 p=(unsigned char *) ximage->data+y*ximage->bytes_per_line+ in XMakeMagnifyImage()
7240 ((x*ximage->bits_per_pixel) >> 3); in XMakeMagnifyImage()
7241 p_bit=(unsigned char) (x*ximage->bits_per_pixel) & 0x07; in XMakeMagnifyImage()
7254 for (plane=0; (int) plane < ximage->bits_per_pixel; plane++) in XMakeMagnifyImage()
7270 p_bit+=ximage->bits_per_pixel; in XMakeMagnifyImage()
7293 if (ximage->format == XYBitmap) in XMakeMagnifyImage()
7311 p=(unsigned char *) ximage->data+y*ximage->bytes_per_line+ in XMakeMagnifyImage()
7312 ((x*ximage->bits_per_pixel) >> 3); in XMakeMagnifyImage()
7313 p_bit=(unsigned char) (x*ximage->bits_per_pixel) & 0x07; in XMakeMagnifyImage()
7326 for (plane=0; (int) plane < ximage->bits_per_pixel; plane++) in XMakeMagnifyImage()
7342 p_bit+=ximage->bits_per_pixel; in XMakeMagnifyImage()
7360 switch (ximage->bits_per_pixel) in XMakeMagnifyImage()
7375 p=(unsigned char *) ximage->data+y*ximage->bytes_per_line+ in XMakeMagnifyImage()
7376 ((x*ximage->bits_per_pixel) >> 3); in XMakeMagnifyImage()
7401 bytes_per_pixel=(unsigned int) ximage->bits_per_pixel >> 3; in XMakeMagnifyImage()
7409 p=(unsigned char *) ximage->data+y*ximage->bytes_per_line+ in XMakeMagnifyImage()
7410 ((x*ximage->bits_per_pixel) >> 3); in XMakeMagnifyImage()
7435 if (x > (int) (ximage->width-(width/magnify))) in XMakeMagnifyImage()
7436 x=(int) ((ximage->width-windows->magnify.x)*magnify-(width >> 1)); in XMakeMagnifyImage()
7443 if (y > (int) (ximage->height-(height/magnify))) in XMakeMagnifyImage()
7444 y=(int) ((ximage->height-windows->magnify.y)*magnify-(height >> 1)); in XMakeMagnifyImage()
7451 windows->magnify.annotate_context,windows->magnify.ximage,0,0,x,y,width-x, in XMakeMagnifyImage()
7574 if (window->ximage == (XImage *) NULL) in XMakePixmap()
7584 width=(unsigned int) window->ximage->width; in XMakePixmap()
7585 height=(unsigned int) window->ximage->height; in XMakePixmap()
7601 window->ximage,0,0,0,0,width,height,MagickTrue); in XMakePixmap()
7605 window->ximage,0,0,0,0,width,height); in XMakePixmap()
8785 if (window->ximage == (XImage *) NULL) in XRefreshWindow()
8822 if ((window->ximage->width-(x+window->x)) < (int) width) in XRefreshWindow()
8823 width=(unsigned int) (window->ximage->width-(x+window->x)); in XRefreshWindow()
8824 if ((window->ximage->height-(y+window->y)) < (int) height) in XRefreshWindow()
8825 height=(unsigned int) (window->ximage->height-(y+window->y)); in XRefreshWindow()
8846 window->ximage,x+window->x,y+window->y,x,y,width,height,MagickTrue); in XRefreshWindow()
8850 window->ximage,x+window->x,y+window->y,x,y,width,height); in XRefreshWindow()