Lines Matching refs:draw_info
8316 *draw_info; local
8318 draw_info=CloneDrawInfo(info ? info->image_info : (ImageInfo *) NULL,
8328 (void) CloneString(&draw_info->text,text);
8332 (void) CloneString(&draw_info->font,
8335 draw_info->pointsize=argument_list[2].real_reference;
8337 (void) CloneString(&draw_info->density,
8341 AllCompliance,&draw_info->undercolor,exception);
8345 AllCompliance,&draw_info->stroke,exception);
8347 draw_info->stroke_pattern=CloneImage(
8353 AllCompliance,&draw_info->fill,exception);
8355 draw_info->fill_pattern=CloneImage(
8360 (void) CloneString(&draw_info->geometry,
8369 AllCompliance,&draw_info->fill,exception);
8371 draw_info->gravity=(GravityType)
8385 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0)));
8386 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0)));
8387 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0)));
8388 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0)));
8389 if (fabs(draw_info->affine.sx*draw_info->affine.sy-
8390 draw_info->affine.rx*draw_info->affine.ry) < MagickEpsilon)
8398 draw_info->affine.tx=(double) SvNV(*(av_fetch(av,4,0)));
8399 draw_info->affine.ty=(double) SvNV(*(av_fetch(av,5,0)));
8408 current=draw_info->affine;
8466 draw_info->affine.sx=current.sx*affine.sx+current.ry*affine.rx;
8467 draw_info->affine.rx=current.rx*affine.sx+current.sy*affine.rx;
8468 draw_info->affine.ry=current.sx*affine.ry+current.ry*affine.sy;
8469 draw_info->affine.sy=current.rx*affine.ry+current.sy*affine.sy;
8470 draw_info->affine.tx=current.sx*affine.tx+current.ry*affine.ty+
8472 draw_info->affine.ty=current.rx*affine.tx+current.sy*affine.ty+
8485 (double) argument_list[9].real_reference+draw_info->affine.tx,
8486 (double) argument_list[10].real_reference+draw_info->affine.ty);
8487 (void) CloneString(&draw_info->geometry,geometry);
8490 draw_info->stroke_width=argument_list[17].real_reference;
8493 draw_info->text_antialias=argument_list[18].integer_reference != 0 ?
8495 draw_info->stroke_antialias=draw_info->text_antialias;
8498 (void) CloneString(&draw_info->family,
8501 draw_info->style=(StyleType) argument_list[20].integer_reference;
8503 draw_info->stretch=(StretchType) argument_list[21].integer_reference;
8505 draw_info->weight=argument_list[22].integer_reference;
8507 draw_info->align=(AlignType) argument_list[23].integer_reference;
8509 (void) CloneString(&draw_info->encoding,
8512 draw_info->fill_pattern=CloneImage(
8515 draw_info->fill_pattern=CloneImage(
8518 draw_info->stroke_pattern=CloneImage(
8521 draw_info->kerning=argument_list[29].real_reference;
8523 draw_info->interline_spacing=argument_list[30].real_reference;
8525 draw_info->interword_spacing=argument_list[31].real_reference;
8527 draw_info->direction=(DirectionType)
8529 (void) AnnotateImage(image,draw_info,exception);
8530 draw_info=DestroyDrawInfo(draw_info);
8536 *draw_info; local
8544 draw_info=CloneDrawInfo(info ? info->image_info :
8555 AllCompliance,&draw_info->fill,exception);
8570 (void) FloodfillPaintImage(image,draw_info,&target,geometry.x,
8572 draw_info=DestroyDrawInfo(draw_info);
8822 *draw_info; local
8824 draw_info=CloneDrawInfo(info ? info->image_info : (ImageInfo *) NULL,
8826 (void) CloneString(&draw_info->primitive,"point");
8830 (void) CloneString(&draw_info->primitive,
8833 (void) CloneString(&draw_info->primitive,CommandOptionToMnemonic(
8838 if (LocaleCompare(draw_info->primitive,"path") == 0)
8840 (void) ConcatenateString(&draw_info->primitive," '");
8841 ConcatenateString(&draw_info->primitive,
8843 (void) ConcatenateString(&draw_info->primitive,"'");
8847 (void) ConcatenateString(&draw_info->primitive," ");
8848 ConcatenateString(&draw_info->primitive,
8854 (void) ConcatenateString(&draw_info->primitive," ");
8855 (void) ConcatenateString(&draw_info->primitive,
8862 AllCompliance,&draw_info->stroke,exception);
8864 draw_info->stroke_pattern=CloneImage(
8870 AllCompliance,&draw_info->fill,exception);
8872 draw_info->fill_pattern=CloneImage(
8876 draw_info->stroke_width=argument_list[5].real_reference;
8878 (void) CloneString(&draw_info->font,
8882 AllCompliance,&draw_info->border_color,exception);
8884 draw_info->affine.tx=argument_list[8].real_reference;
8886 draw_info->affine.ty=argument_list[9].real_reference;
8899 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0)));
8900 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0)));
8901 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0)));
8902 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0)));
8903 if (fabs(draw_info->affine.sx*draw_info->affine.sy-
8904 draw_info->affine.rx*draw_info->affine.ry) < MagickEpsilon)
8912 draw_info->affine.tx=(double) SvNV(*(av_fetch(av,4,0)));
8913 draw_info->affine.ty=(double) SvNV(*(av_fetch(av,5,0)));
8922 current=draw_info->affine;
8980 draw_info->affine.sx=current.sx*affine.sx+current.ry*affine.rx;
8981 draw_info->affine.rx=current.rx*affine.sx+current.sy*affine.rx;
8982 draw_info->affine.ry=current.sx*affine.ry+current.ry*affine.sy;
8983 draw_info->affine.sy=current.rx*affine.ry+current.sy*affine.sy;
8984 draw_info->affine.tx=
8986 draw_info->affine.ty=
8990 draw_info->fill_pattern=CloneImage(
8993 draw_info->pointsize=argument_list[16].real_reference;
8996 draw_info->stroke_antialias=argument_list[17].integer_reference != 0
8998 draw_info->text_antialias=draw_info->stroke_antialias;
9001 (void) CloneString(&draw_info->density,
9004 draw_info->stroke_width=argument_list[19].real_reference;
9006 draw_info->dash_offset=argument_list[21].real_reference;
9013 draw_info->dash_pattern=(double *) AcquireQuantumMemory(
9014 av_len(av)+2UL,sizeof(*draw_info->dash_pattern));
9015 if (draw_info->dash_pattern != (double *) NULL)
9018 draw_info->dash_pattern[i]=(double)
9020 draw_info->dash_pattern[i]=0.0;
9027 (draw_info->fill_pattern != (Image *) NULL))
9028 flags=ParsePageGeometry(draw_info->fill_pattern,
9030 &draw_info->fill_pattern->tile_offset,exception);
9033 (void) ConcatenateString(&draw_info->primitive," '");
9034 (void) ConcatenateString(&draw_info->primitive,
9036 (void) ConcatenateString(&draw_info->primitive,"'");
9039 draw_info->fill_pattern=CloneImage(
9042 draw_info->stroke_pattern=CloneImage(
9045 (void) CloneString(&draw_info->primitive,
9048 draw_info->kerning=argument_list[29].real_reference;
9050 draw_info->interline_spacing=argument_list[30].real_reference;
9052 draw_info->interword_spacing=argument_list[31].real_reference;
9054 draw_info->direction=(DirectionType)
9056 DrawImage(image,draw_info,exception);
9057 draw_info=DestroyDrawInfo(draw_info);
9114 *draw_info; local
9122 draw_info=CloneDrawInfo(info ? info->image_info : (ImageInfo *) NULL,
9149 (void) FloodfillPaintImage(image,draw_info,&target,geometry.x,
9152 draw_info=DestroyDrawInfo(draw_info);
9814 *draw_info; local
9816 draw_info=CloneDrawInfo(info ? info->image_info : (ImageInfo *) NULL,
9830 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0)));
9831 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0)));
9832 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0)));
9833 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0)));
9834 if (fabs(draw_info->affine.sx*draw_info->affine.sy-
9835 draw_info->affine.rx*draw_info->affine.ry) < MagickEpsilon)
9843 draw_info->affine.tx=(double) SvNV(*(av_fetch(av,4,0)));
9844 draw_info->affine.ty=(double) SvNV(*(av_fetch(av,5,0)));
9853 current=draw_info->affine;
9911 draw_info->affine.sx=current.sx*affine.sx+current.ry*affine.rx;
9912 draw_info->affine.rx=current.rx*affine.sx+current.sy*affine.rx;
9913 draw_info->affine.ry=current.sx*affine.ry+current.ry*affine.sy;
9914 draw_info->affine.sy=current.rx*affine.ry+current.sy*affine.sy;
9915 draw_info->affine.tx=
9917 draw_info->affine.ty=
9926 image=AffineTransformImage(image,&draw_info->affine,exception);
9927 draw_info=DestroyDrawInfo(draw_info);
10533 *draw_info; local
10541 draw_info=CloneDrawInfo(info ? info->image_info : (ImageInfo *) NULL,
10552 (void) CloneString(&draw_info->font,
10556 AllCompliance,&draw_info->stroke,exception);
10559 AllCompliance,&draw_info->fill,exception);
10561 draw_info->stroke_width=argument_list[5].real_reference;
10563 draw_info->pointsize=argument_list[6].real_reference;
10565 draw_info->gravity=(GravityType) argument_list[7].integer_reference;
10572 image=PolaroidImage(image,draw_info,caption,angle,method,exception);
10573 draw_info=DestroyDrawInfo(draw_info);
10581 *draw_info; local
10589 draw_info=CloneDrawInfo(info ? info->image_info :
10600 AllCompliance,&draw_info->fill,exception);
10615 (void) FloodfillPaintImage(image,draw_info,&target,geometry.x,
10618 draw_info=DestroyDrawInfo(draw_info);
12626 *draw_info; local
12677 draw_info=CloneDrawInfo(package_info->image_info,(DrawInfo *) NULL);
12678 CloneString(&draw_info->text,"");
12679 current=draw_info->affine;
12702 draw_info->text_antialias=type != 0 ? MagickTrue : MagickFalse;
12714 CloneString(&draw_info->density,SvPV(ST(i),na));
12719 draw_info->direction=(DirectionType) ParseCommandOption(
12732 CloneString(&draw_info->encoding,SvPV(ST(i),na));
12744 CloneString(&draw_info->family,SvPV(ST(i),na));
12751 &draw_info->fill,exception);
12756 CloneString(&draw_info->font,SvPV(ST(i),na));
12768 CloneString(&draw_info->geometry,SvPV(ST(i),na));
12773 draw_info->gravity=(GravityType) ParseCommandOption(
12787 draw_info->interline_spacing=geometry_info.rho;
12793 draw_info->interword_spacing=geometry_info.rho;
12806 draw_info->kerning=geometry_info.rho;
12819 draw_info->pointsize=geometry_info.rho;
12873 &draw_info->stroke,exception);
12886 draw_info->style=(StyleType) type;
12898 CloneString(&draw_info->text,SvPV(ST(i),na));
12920 draw_info->weight=(size_t) geometry_info.rho;
12961 draw_info->affine.sx=current.sx*affine.sx+current.ry*affine.rx;
12962 draw_info->affine.rx=current.rx*affine.sx+current.sy*affine.rx;
12963 draw_info->affine.ry=current.sx*affine.ry+current.ry*affine.sy;
12964 draw_info->affine.sy=current.rx*affine.ry+current.sy*affine.sy;
12965 draw_info->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx;
12966 draw_info->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty;
12967 if (draw_info->geometry == (char *) NULL)
12969 draw_info->geometry=AcquireString((char *) NULL);
12970 (void) FormatLocaleString(draw_info->geometry,MagickPathExtent,
12973 status=GetTypeMetrics(image,draw_info,&metrics,exception);
12993 draw_info=DestroyDrawInfo(draw_info);
13037 *draw_info; local
13088 draw_info=CloneDrawInfo(package_info->image_info,(DrawInfo *) NULL);
13089 CloneString(&draw_info->text,"");
13090 current=draw_info->affine;
13113 draw_info->text_antialias=type != 0 ? MagickTrue : MagickFalse;
13125 CloneString(&draw_info->density,SvPV(ST(i),na));
13137 CloneString(&draw_info->encoding,SvPV(ST(i),na));
13149 CloneString(&draw_info->family,SvPV(ST(i),na));
13156 &draw_info->fill,exception);
13161 CloneString(&draw_info->font,SvPV(ST(i),na));
13173 CloneString(&draw_info->geometry,SvPV(ST(i),na));
13178 draw_info->gravity=(GravityType) ParseCommandOption(
13192 draw_info->pointsize=geometry_info.rho;
13246 &draw_info->stroke,exception);
13259 draw_info->style=(StyleType) type;
13271 CloneString(&draw_info->text,SvPV(ST(i),na));
13293 draw_info->weight=(size_t) geometry_info.rho;
13334 draw_info->affine.sx=current.sx*affine.sx+current.ry*affine.rx;
13335 draw_info->affine.rx=current.rx*affine.sx+current.sy*affine.rx;
13336 draw_info->affine.ry=current.sx*affine.ry+current.ry*affine.sy;
13337 draw_info->affine.sy=current.rx*affine.ry+current.sy*affine.sy;
13338 draw_info->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx;
13339 draw_info->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty;
13340 if (draw_info->geometry == (char *) NULL)
13342 draw_info->geometry=AcquireString((char *) NULL);
13343 (void) FormatLocaleString(draw_info->geometry,MagickPathExtent,
13346 status=GetMultilineTypeMetrics(image,draw_info,&metrics,exception);
13366 draw_info=DestroyDrawInfo(draw_info);