Lines Matching refs:annotate_info
471 const XPixelInfo *pixel,XAnnotateInfo *annotate_info,Image *image, in XAnnotateImage() argument
513 assert(annotate_info != (XAnnotateInfo *) NULL); in XAnnotateImage()
520 annotate_pixmap=XCreatePixmap(display,root_window,annotate_info->width, in XAnnotateImage()
521 annotate_info->height,depth); in XAnnotateImage()
529 context_values.font=annotate_info->font_info->fid; in XAnnotateImage()
538 (int) annotate_info->font_info->ascent,annotate_info->text, in XAnnotateImage()
539 (int) strlen(annotate_info->text)); in XAnnotateImage()
544 annotate_ximage=XGetImage(display,annotate_pixmap,0,0,annotate_info->width, in XAnnotateImage()
545 annotate_info->height,AllPlanes,ZPixmap); in XAnnotateImage()
555 annotate_image->columns=annotate_info->width; in XAnnotateImage()
556 annotate_image->rows=annotate_info->height; in XAnnotateImage()
564 (void) XParseGeometry(annotate_info->geometry,&x,&y,&width,&height); in XAnnotateImage()
567 if (annotate_info->stencil == ForegroundStencil) in XAnnotateImage()
596 if ((annotate_info->stencil == ForegroundStencil) || in XAnnotateImage()
597 (annotate_info->stencil == OpaqueStencil)) in XAnnotateImage()
611 if (annotate_info->stencil == BackgroundStencil) in XAnnotateImage()
624 (void) XParseGeometry(annotate_info->geometry,&x,&y,&width,&height); in XAnnotateImage()
639 if (annotate_info->degrees != 0.0) in XAnnotateImage()
653 rotate_image=RotateImage(annotate_image,annotate_info->degrees,exception); in XAnnotateImage()
661 normalized_degrees=annotate_info->degrees; in XAnnotateImage()
702 (void) XParseGeometry(annotate_info->geometry,&x,&y,&width,&height); in XAnnotateImage()
2887 MagickPrivate void XGetAnnotateInfo(XAnnotateInfo *annotate_info) in XGetAnnotateInfo() argument
2893 assert(annotate_info != (XAnnotateInfo *) NULL); in XGetAnnotateInfo()
2894 annotate_info->x=0; in XGetAnnotateInfo()
2895 annotate_info->y=0; in XGetAnnotateInfo()
2896 annotate_info->width=0; in XGetAnnotateInfo()
2897 annotate_info->height=0; in XGetAnnotateInfo()
2898 annotate_info->stencil=ForegroundStencil; in XGetAnnotateInfo()
2899 annotate_info->degrees=0.0; in XGetAnnotateInfo()
2900 annotate_info->font_info=(XFontStruct *) NULL; in XGetAnnotateInfo()
2901 annotate_info->text=(char *) NULL; in XGetAnnotateInfo()
2902 *annotate_info->geometry='\0'; in XGetAnnotateInfo()
2903 annotate_info->previous=(XAnnotateInfo *) NULL; in XGetAnnotateInfo()
2904 annotate_info->next=(XAnnotateInfo *) NULL; in XGetAnnotateInfo()
8993 annotate_info; in XRenderImage() local
9081 XGetAnnotateInfo(&annotate_info); in XRenderImage()
9082 annotate_info.stencil=ForegroundStencil; in XRenderImage()
9103 annotate_info.font_info=font_info; in XRenderImage()
9104 annotate_info.text=(char *) draw_info->text; in XRenderImage()
9105 annotate_info.width=(unsigned int) XTextWidth(font_info,draw_info->text,(int) in XRenderImage()
9107 annotate_info.height=(unsigned int) font_info->ascent+font_info->descent; in XRenderImage()
9112 metrics->width=annotate_info.width/ExpandAffine(&draw_info->affine); in XRenderImage()
9128 width=annotate_info.width; in XRenderImage()
9129 height=annotate_info.height; in XRenderImage()
9135 annotate_info.degrees=(double) (180.0/MagickPI)* in XRenderImage()
9138 (void) FormatLocaleString(annotate_info.geometry,MagickPathExtent, in XRenderImage()
9148 status=XAnnotateImage(display,&pixel,&annotate_info,image,exception); in XRenderImage()