Lines Matching refs:draw_info
3804 *draw_info; in XColorEditImage() local
3824 draw_info=CloneDrawInfo(resource_info->image_info, in XColorEditImage()
3827 AllCompliance,&draw_info->fill,exception); in XColorEditImage()
3828 (void) FloodfillPaintImage(*image,draw_info,&target, in XColorEditImage()
3831 draw_info=DestroyDrawInfo(draw_info); in XColorEditImage()
5485 draw_info; in XDrawEditImage() local
5521 draw_info.stencil=OpaqueStencil; in XDrawEditImage()
5614 draw_info.stencil=TransparentStencil; in XDrawEditImage()
5639 draw_info.stencil=OpaqueStencil; in XDrawEditImage()
6251 draw_info.x=(int) rectangle_info.x; in XDrawEditImage()
6252 draw_info.y=(int) rectangle_info.y; in XDrawEditImage()
6261 draw_info.x+=windows->image.x-(line_width/2); in XDrawEditImage()
6262 if (draw_info.x < 0) in XDrawEditImage()
6263 draw_info.x=0; in XDrawEditImage()
6264 draw_info.x=(int) (width*draw_info.x/windows->image.ximage->width); in XDrawEditImage()
6265 draw_info.y+=windows->image.y-(line_width/2); in XDrawEditImage()
6266 if (draw_info.y < 0) in XDrawEditImage()
6267 draw_info.y=0; in XDrawEditImage()
6268 draw_info.y=(int) height*draw_info.y/windows->image.ximage->height; in XDrawEditImage()
6269 draw_info.width=(unsigned int) rectangle_info.width+(line_width << 1); in XDrawEditImage()
6270 if (draw_info.width > (unsigned int) (*image)->columns) in XDrawEditImage()
6271 draw_info.width=(unsigned int) (*image)->columns; in XDrawEditImage()
6272 draw_info.height=(unsigned int) rectangle_info.height+(line_width << 1); in XDrawEditImage()
6273 if (draw_info.height > (unsigned int) (*image)->rows) in XDrawEditImage()
6274 draw_info.height=(unsigned int) (*image)->rows; in XDrawEditImage()
6275 (void) FormatLocaleString(draw_info.geometry,MagickPathExtent,"%ux%u%+d%+d", in XDrawEditImage()
6276 width*draw_info.width/windows->image.ximage->width, in XDrawEditImage()
6277 height*draw_info.height/windows->image.ximage->height, in XDrawEditImage()
6278 draw_info.x+x,draw_info.y+y); in XDrawEditImage()
6282 draw_info.degrees=0.0; in XDrawEditImage()
6283 draw_info.element=element; in XDrawEditImage()
6284 draw_info.stipple=stipple; in XDrawEditImage()
6285 draw_info.line_width=line_width; in XDrawEditImage()
6286 draw_info.line_info=line_info; in XDrawEditImage()
6288 draw_info.line_info.x1=(short) line_width/2; in XDrawEditImage()
6290 draw_info.line_info.y1=(short) line_width/2; in XDrawEditImage()
6291 draw_info.line_info.x2=(short) (line_info.x2-line_info.x1+(line_width/2)); in XDrawEditImage()
6292 draw_info.line_info.y2=(short) (line_info.y2-line_info.y1+(line_width/2)); in XDrawEditImage()
6293 if ((draw_info.line_info.x2 < 0) && (draw_info.line_info.y2 < 0)) in XDrawEditImage()
6295 draw_info.line_info.x2=(-draw_info.line_info.x2); in XDrawEditImage()
6296 draw_info.line_info.y2=(-draw_info.line_info.y2); in XDrawEditImage()
6298 if (draw_info.line_info.x2 < 0) in XDrawEditImage()
6300 draw_info.line_info.x2=(-draw_info.line_info.x2); in XDrawEditImage()
6301 Swap(draw_info.line_info.x1,draw_info.line_info.x2); in XDrawEditImage()
6303 if (draw_info.line_info.y2 < 0) in XDrawEditImage()
6305 draw_info.line_info.y2=(-draw_info.line_info.y2); in XDrawEditImage()
6306 Swap(draw_info.line_info.y1,draw_info.line_info.y2); in XDrawEditImage()
6308 draw_info.rectangle_info=rectangle_info; in XDrawEditImage()
6309 if (draw_info.rectangle_info.x > (ssize_t) (line_width/2)) in XDrawEditImage()
6310 draw_info.rectangle_info.x=(ssize_t) line_width/2; in XDrawEditImage()
6311 if (draw_info.rectangle_info.y > (ssize_t) (line_width/2)) in XDrawEditImage()
6312 draw_info.rectangle_info.y=(ssize_t) line_width/2; in XDrawEditImage()
6313 draw_info.number_coordinates=(unsigned int) number_coordinates; in XDrawEditImage()
6314 draw_info.coordinate_info=coordinate_info; in XDrawEditImage()
6321 status=XDrawImage(display,windows->pixel_info,&draw_info,*image,exception); in XDrawEditImage()
10155 *draw_info; in XMatteEditImage() local
10175 draw_info=CloneDrawInfo(resource_info->image_info, in XMatteEditImage()
10177 draw_info->fill.alpha=(double) ClampToQuantum( in XMatteEditImage()
10180 (void) FloodfillPaintImage(*image,draw_info,&target,(ssize_t) in XMatteEditImage()
10184 draw_info=DestroyDrawInfo(draw_info); in XMatteEditImage()