Lines Matching refs:draw_info
235 *draw_info; in AcquireDrawInfo() local
237 draw_info=(DrawInfo *) AcquireCriticalMemory(sizeof(*draw_info)); in AcquireDrawInfo()
238 GetDrawInfo((ImageInfo *) NULL,draw_info); in AcquireDrawInfo()
239 return(draw_info); in AcquireDrawInfo()
270 const DrawInfo *draw_info) in CloneDrawInfo() argument
280 if (draw_info == (DrawInfo *) NULL) in CloneDrawInfo()
283 if (draw_info->primitive != (char *) NULL) in CloneDrawInfo()
284 (void) CloneString(&clone_info->primitive,draw_info->primitive); in CloneDrawInfo()
285 if (draw_info->geometry != (char *) NULL) in CloneDrawInfo()
286 (void) CloneString(&clone_info->geometry,draw_info->geometry); in CloneDrawInfo()
287 clone_info->compliance=draw_info->compliance; in CloneDrawInfo()
288 clone_info->viewbox=draw_info->viewbox; in CloneDrawInfo()
289 clone_info->affine=draw_info->affine; in CloneDrawInfo()
290 clone_info->gravity=draw_info->gravity; in CloneDrawInfo()
291 clone_info->fill=draw_info->fill; in CloneDrawInfo()
292 clone_info->stroke=draw_info->stroke; in CloneDrawInfo()
293 clone_info->stroke_width=draw_info->stroke_width; in CloneDrawInfo()
294 if (draw_info->fill_pattern != (Image *) NULL) in CloneDrawInfo()
295 clone_info->fill_pattern=CloneImage(draw_info->fill_pattern,0,0,MagickTrue, in CloneDrawInfo()
297 if (draw_info->stroke_pattern != (Image *) NULL) in CloneDrawInfo()
298 clone_info->stroke_pattern=CloneImage(draw_info->stroke_pattern,0,0, in CloneDrawInfo()
300 clone_info->stroke_antialias=draw_info->stroke_antialias; in CloneDrawInfo()
301 clone_info->text_antialias=draw_info->text_antialias; in CloneDrawInfo()
302 clone_info->fill_rule=draw_info->fill_rule; in CloneDrawInfo()
303 clone_info->linecap=draw_info->linecap; in CloneDrawInfo()
304 clone_info->linejoin=draw_info->linejoin; in CloneDrawInfo()
305 clone_info->miterlimit=draw_info->miterlimit; in CloneDrawInfo()
306 clone_info->dash_offset=draw_info->dash_offset; in CloneDrawInfo()
307 clone_info->decorate=draw_info->decorate; in CloneDrawInfo()
308 clone_info->compose=draw_info->compose; in CloneDrawInfo()
309 if (draw_info->text != (char *) NULL) in CloneDrawInfo()
310 (void) CloneString(&clone_info->text,draw_info->text); in CloneDrawInfo()
311 if (draw_info->font != (char *) NULL) in CloneDrawInfo()
312 (void) CloneString(&clone_info->font,draw_info->font); in CloneDrawInfo()
313 if (draw_info->metrics != (char *) NULL) in CloneDrawInfo()
314 (void) CloneString(&clone_info->metrics,draw_info->metrics); in CloneDrawInfo()
315 if (draw_info->family != (char *) NULL) in CloneDrawInfo()
316 (void) CloneString(&clone_info->family,draw_info->family); in CloneDrawInfo()
317 clone_info->style=draw_info->style; in CloneDrawInfo()
318 clone_info->stretch=draw_info->stretch; in CloneDrawInfo()
319 clone_info->weight=draw_info->weight; in CloneDrawInfo()
320 if (draw_info->encoding != (char *) NULL) in CloneDrawInfo()
321 (void) CloneString(&clone_info->encoding,draw_info->encoding); in CloneDrawInfo()
322 clone_info->pointsize=draw_info->pointsize; in CloneDrawInfo()
323 clone_info->kerning=draw_info->kerning; in CloneDrawInfo()
324 clone_info->interline_spacing=draw_info->interline_spacing; in CloneDrawInfo()
325 clone_info->interword_spacing=draw_info->interword_spacing; in CloneDrawInfo()
326 clone_info->direction=draw_info->direction; in CloneDrawInfo()
327 if (draw_info->density != (char *) NULL) in CloneDrawInfo()
328 (void) CloneString(&clone_info->density,draw_info->density); in CloneDrawInfo()
329 clone_info->align=draw_info->align; in CloneDrawInfo()
330 clone_info->undercolor=draw_info->undercolor; in CloneDrawInfo()
331 clone_info->border_color=draw_info->border_color; in CloneDrawInfo()
332 if (draw_info->server_name != (char *) NULL) in CloneDrawInfo()
333 (void) CloneString(&clone_info->server_name,draw_info->server_name); in CloneDrawInfo()
334 if (draw_info->dash_pattern != (double *) NULL) in CloneDrawInfo()
339 for (x=0; fabs(draw_info->dash_pattern[x]) >= MagickEpsilon; x++) ; in CloneDrawInfo()
347 (void) memcpy(clone_info->dash_pattern,draw_info->dash_pattern,(size_t) in CloneDrawInfo()
350 clone_info->gradient=draw_info->gradient; in CloneDrawInfo()
351 if (draw_info->gradient.stops != (StopInfo *) NULL) in CloneDrawInfo()
362 (void) memcpy(clone_info->gradient.stops,draw_info->gradient.stops, in CloneDrawInfo()
365 clone_info->bounds=draw_info->bounds; in CloneDrawInfo()
366 clone_info->fill_alpha=draw_info->fill_alpha; in CloneDrawInfo()
367 clone_info->stroke_alpha=draw_info->stroke_alpha; in CloneDrawInfo()
368 clone_info->element_reference=draw_info->element_reference; in CloneDrawInfo()
369 clone_info->clip_path=draw_info->clip_path; in CloneDrawInfo()
370 clone_info->clip_units=draw_info->clip_units; in CloneDrawInfo()
371 if (draw_info->clip_mask != (char *) NULL) in CloneDrawInfo()
372 (void) CloneString(&clone_info->clip_mask,draw_info->clip_mask); in CloneDrawInfo()
373 if (draw_info->clipping_mask != (Image *) NULL) in CloneDrawInfo()
374 clone_info->clipping_mask=CloneImage(draw_info->clipping_mask,0,0, in CloneDrawInfo()
376 if (draw_info->composite_mask != (Image *) NULL) in CloneDrawInfo()
377 clone_info->composite_mask=CloneImage(draw_info->composite_mask,0,0, in CloneDrawInfo()
379 clone_info->render=draw_info->render; in CloneDrawInfo()
880 MagickExport DrawInfo *DestroyDrawInfo(DrawInfo *draw_info) in DestroyDrawInfo() argument
882 assert(draw_info != (DrawInfo *) NULL); in DestroyDrawInfo()
883 if (draw_info->debug != MagickFalse) in DestroyDrawInfo()
885 assert(draw_info->signature == MagickCoreSignature); in DestroyDrawInfo()
886 if (draw_info->primitive != (char *) NULL) in DestroyDrawInfo()
887 draw_info->primitive=DestroyString(draw_info->primitive); in DestroyDrawInfo()
888 if (draw_info->text != (char *) NULL) in DestroyDrawInfo()
889 draw_info->text=DestroyString(draw_info->text); in DestroyDrawInfo()
890 if (draw_info->geometry != (char *) NULL) in DestroyDrawInfo()
891 draw_info->geometry=DestroyString(draw_info->geometry); in DestroyDrawInfo()
892 if (draw_info->fill_pattern != (Image *) NULL) in DestroyDrawInfo()
893 draw_info->fill_pattern=DestroyImage(draw_info->fill_pattern); in DestroyDrawInfo()
894 if (draw_info->stroke_pattern != (Image *) NULL) in DestroyDrawInfo()
895 draw_info->stroke_pattern=DestroyImage(draw_info->stroke_pattern); in DestroyDrawInfo()
896 if (draw_info->font != (char *) NULL) in DestroyDrawInfo()
897 draw_info->font=DestroyString(draw_info->font); in DestroyDrawInfo()
898 if (draw_info->metrics != (char *) NULL) in DestroyDrawInfo()
899 draw_info->metrics=DestroyString(draw_info->metrics); in DestroyDrawInfo()
900 if (draw_info->family != (char *) NULL) in DestroyDrawInfo()
901 draw_info->family=DestroyString(draw_info->family); in DestroyDrawInfo()
902 if (draw_info->encoding != (char *) NULL) in DestroyDrawInfo()
903 draw_info->encoding=DestroyString(draw_info->encoding); in DestroyDrawInfo()
904 if (draw_info->density != (char *) NULL) in DestroyDrawInfo()
905 draw_info->density=DestroyString(draw_info->density); in DestroyDrawInfo()
906 if (draw_info->server_name != (char *) NULL) in DestroyDrawInfo()
907 draw_info->server_name=(char *) in DestroyDrawInfo()
908 RelinquishMagickMemory(draw_info->server_name); in DestroyDrawInfo()
909 if (draw_info->dash_pattern != (double *) NULL) in DestroyDrawInfo()
910 draw_info->dash_pattern=(double *) RelinquishMagickMemory( in DestroyDrawInfo()
911 draw_info->dash_pattern); in DestroyDrawInfo()
912 if (draw_info->gradient.stops != (StopInfo *) NULL) in DestroyDrawInfo()
913 draw_info->gradient.stops=(StopInfo *) RelinquishMagickMemory( in DestroyDrawInfo()
914 draw_info->gradient.stops); in DestroyDrawInfo()
915 if (draw_info->clip_mask != (char *) NULL) in DestroyDrawInfo()
916 draw_info->clip_mask=DestroyString(draw_info->clip_mask); in DestroyDrawInfo()
917 if (draw_info->clipping_mask != (Image *) NULL) in DestroyDrawInfo()
918 draw_info->clipping_mask=DestroyImage(draw_info->clipping_mask); in DestroyDrawInfo()
919 if (draw_info->composite_mask != (Image *) NULL) in DestroyDrawInfo()
920 draw_info->composite_mask=DestroyImage(draw_info->composite_mask); in DestroyDrawInfo()
921 draw_info->signature=(~MagickCoreSignature); in DestroyDrawInfo()
922 draw_info=(DrawInfo *) RelinquishMagickMemory(draw_info); in DestroyDrawInfo()
923 return(draw_info); in DestroyDrawInfo()
1317 const DrawInfo *draw_info) in SaneStrokeWidth() argument
1319 return(MagickMin((double) draw_info->stroke_width, in SaneStrokeWidth()
1324 const DrawInfo *draw_info,const PolygonInfo *polygon_info, in DrawBoundingRectangles() argument
1354 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawBoundingRectangles()
1490 const DrawInfo *draw_info,const char *id,ExceptionInfo *exception) in DrawClipPath() argument
1504 clipping_mask=DrawClippingMask(image,draw_info,draw_info->clip_mask,clip_path, in DrawClipPath()
1545 static Image *DrawClippingMask(Image *image,const DrawInfo *draw_info, in DrawClippingMask() argument
1565 assert(draw_info != (const DrawInfo *) NULL); in DrawClippingMask()
1579 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawClippingMask()
1637 static Image *DrawCompositeMask(Image *image,const DrawInfo *draw_info, in DrawCompositeMask() argument
1657 assert(draw_info != (const DrawInfo *) NULL); in DrawCompositeMask()
1672 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawCompositeMask()
1727 static MagickBooleanType DrawDashPolygon(const DrawInfo *draw_info, in DrawDashPolygon() argument
1760 assert(draw_info != (const DrawInfo *) NULL); in DrawDashPolygon()
1771 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawDashPolygon()
1774 scale=ExpandAffine(&draw_info->affine); in DrawDashPolygon()
1775 length=scale*draw_info->dash_pattern[0]; in DrawDashPolygon()
1776 offset=fabs(draw_info->dash_offset) >= MagickEpsilon ? in DrawDashPolygon()
1777 scale*draw_info->dash_offset : 0.0; in DrawDashPolygon()
1781 if (draw_info->dash_pattern[n] <= 0.0) in DrawDashPolygon()
1783 length=scale*(draw_info->dash_pattern[n]+(n == 0 ? -0.5 : 0.5)); in DrawDashPolygon()
1788 length=scale*draw_info->dash_pattern[n]; in DrawDashPolygon()
1812 if (fabs(draw_info->dash_pattern[n]) >= MagickEpsilon) in DrawDashPolygon()
1814 if (fabs(draw_info->dash_pattern[n]) < MagickEpsilon) in DrawDashPolygon()
1816 length=scale*draw_info->dash_pattern[n]; in DrawDashPolygon()
1845 if (fabs(draw_info->dash_pattern[n]) >= MagickEpsilon) in DrawDashPolygon()
1847 if (fabs(draw_info->dash_pattern[n]) < MagickEpsilon) in DrawDashPolygon()
1849 length=scale*draw_info->dash_pattern[n]; in DrawDashPolygon()
1976 const DrawInfo *draw_info,ExceptionInfo *exception) in DrawGradientImage() argument
2012 assert(draw_info != (const DrawInfo *) NULL); in DrawGradientImage()
2013 gradient=(&draw_info->gradient); in DrawGradientImage()
2392 const DrawInfo *draw_info,const size_t depth,ExceptionInfo *exception) in RenderMVGContent() argument
2475 assert(draw_info != (DrawInfo *) NULL); in RenderMVGContent()
2476 assert(draw_info->signature == MagickCoreSignature); in RenderMVGContent()
2482 if ((draw_info->primitive == (char *) NULL) || in RenderMVGContent()
2483 (*draw_info->primitive == '\0')) in RenderMVGContent()
2496 if (*draw_info->primitive != '@') in RenderMVGContent()
2497 primitive=AcquireString(draw_info->primitive); in RenderMVGContent()
2499 if ((strlen(draw_info->primitive) > 1) && in RenderMVGContent()
2500 (*(draw_info->primitive+1) != '-')) in RenderMVGContent()
2501 primitive=FileToString(draw_info->primitive+1,~0UL,exception); in RenderMVGContent()
2537 graphic_context[n]=CloneDrawInfo((ImageInfo *) NULL,draw_info); in RenderMVGContent()
2709 if (draw_info->compliance != SVGCompliance) in RenderMVGContent()
2748 affine.sx=draw_info->bounds.x2; in RenderMVGContent()
2749 affine.sy=draw_info->bounds.y2; in RenderMVGContent()
2750 affine.tx=draw_info->bounds.x1; in RenderMVGContent()
2751 affine.ty=draw_info->bounds.y1; in RenderMVGContent()
2849 (void) DrawPatternPath(image,draw_info,token, in RenderMVGContent()
3089 if (draw_info->compliance != SVGCompliance) in RenderMVGContent()
3179 (draw_info->compliance != SVGCompliance)) in RenderMVGContent()
3529 (void) DrawPatternPath(image,draw_info,token, in RenderMVGContent()
3860 if (draw_info->gradient.type == RadialGradient) in RenderMVGContent()
4325 if ((n != 0) && (draw_info->compliance != SVGCompliance) && in RenderMVGContent()
4369 MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info, in DrawImage() argument
4372 return(RenderMVGContent(image,draw_info,0,exception)); in DrawImage()
4407 const DrawInfo *draw_info,const char *name,Image **pattern, in DrawPatternPath() argument
4431 assert(draw_info != (const DrawInfo *) NULL); in DrawPatternPath()
4453 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPatternPath()
4719 const DrawInfo *draw_info,const PrimitiveInfo *primitive_info, in DrawPolygonPrimitive() argument
4753 assert(draw_info != (DrawInfo *) NULL); in DrawPolygonPrimitive()
4754 assert(draw_info->signature == MagickCoreSignature); in DrawPolygonPrimitive()
4767 status=DrawBoundingRectangles(image,draw_info,polygon_info[0],exception); in DrawPolygonPrimitive()
4779 mid=ExpandAffine(&draw_info->affine)*SaneStrokeWidth(image,draw_info)/2.0; in DrawPolygonPrimitive()
4862 GetFillColor(draw_info,x-start_x,y-start_y,&pixel,exception); in DrawPolygonPrimitive()
4926 fill_alpha=GetFillAlpha(polygon_info[id],mid,fill,draw_info->fill_rule, in DrawPolygonPrimitive()
4928 if (draw_info->stroke_antialias == MagickFalse) in DrawPolygonPrimitive()
4933 GetFillColor(draw_info,x-start_x,y-start_y,&fill_color,exception); in DrawPolygonPrimitive()
4936 GetStrokeColor(draw_info,x-start_x,y-start_y,&stroke_color,exception); in DrawPolygonPrimitive()
5093 const DrawInfo *draw_info,const PrimitiveInfo *primitive_info, in DrawPrimitive() argument
5114 " affine: %g,%g,%g,%g,%g,%g",draw_info->affine.sx, in DrawPrimitive()
5115 draw_info->affine.rx,draw_info->affine.ry,draw_info->affine.sy, in DrawPrimitive()
5116 draw_info->affine.tx,draw_info->affine.ty); in DrawPrimitive()
5120 ((IsPixelInfoGray(&draw_info->fill) == MagickFalse) || in DrawPrimitive()
5121 (IsPixelInfoGray(&draw_info->stroke) == MagickFalse))) in DrawPrimitive()
5123 if (draw_info->compliance == SVGCompliance) in DrawPrimitive()
5125 status&=SetImageMask(image,WritePixelMask,draw_info->clipping_mask, in DrawPrimitive()
5127 status&=SetImageMask(image,CompositePixelMask,draw_info->composite_mask, in DrawPrimitive()
5153 GetFillColor(draw_info,x,y,&pixel,exception); in DrawPrimitive()
5187 GetFillColor(draw_info,x,y,&pixel,exception); in DrawPrimitive()
5210 target.red=(double) draw_info->border_color.red; in DrawPrimitive()
5211 target.green=(double) draw_info->border_color.green; in DrawPrimitive()
5212 target.blue=(double) draw_info->border_color.blue; in DrawPrimitive()
5215 status&=FloodfillPaintImage(image,draw_info,&target,x,y, in DrawPrimitive()
5240 GetFillColor(draw_info,x,y,&pixel,exception); in DrawPrimitive()
5270 GetFillColor(draw_info,x,y,&pixel,exception); in DrawPrimitive()
5303 GetFillColor(draw_info,x,y,&pixel,exception); in DrawPrimitive()
5323 target.red=(double) draw_info->border_color.red; in DrawPrimitive()
5324 target.green=(double) draw_info->border_color.green; in DrawPrimitive()
5325 target.blue=(double) draw_info->border_color.blue; in DrawPrimitive()
5327 status&=FloodfillPaintImage(image,draw_info,&target,x,y, in DrawPrimitive()
5352 GetFillColor(draw_info,x,y,&pixel,exception); in DrawPrimitive()
5426 if (draw_info->alpha != OpaqueAlpha) in DrawPrimitive()
5427 (void) SetImageAlpha(composite_image,draw_info->alpha,exception); in DrawPrimitive()
5429 image->gravity=draw_info->gravity; in DrawPrimitive()
5436 affine=draw_info->affine; in DrawPrimitive()
5459 GetFillColor(draw_info,x,y,&fill_color,exception); in DrawPrimitive()
5475 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPrimitive()
5495 scale=ExpandAffine(&draw_info->affine); in DrawPrimitive()
5496 if ((draw_info->dash_pattern != (double *) NULL) && in DrawPrimitive()
5497 (fabs(draw_info->dash_pattern[0]) >= MagickEpsilon) && in DrawPrimitive()
5498 (fabs(scale*draw_info->stroke_width) >= MagickEpsilon) && in DrawPrimitive()
5499 (draw_info->stroke.alpha != (Quantum) TransparentAlpha)) in DrawPrimitive()
5504 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPrimitive()
5510 status=DrawDashPolygon(draw_info,primitive_info,image,exception); in DrawPrimitive()
5513 mid=ExpandAffine(&draw_info->affine)*SaneStrokeWidth(image,draw_info)/2.0; in DrawPrimitive()
5515 ((draw_info->stroke.alpha != (Quantum) TransparentAlpha) || in DrawPrimitive()
5516 (draw_info->stroke_pattern != (Image *) NULL))) in DrawPrimitive()
5534 if ((((draw_info->linecap == RoundCap) || in DrawPrimitive()
5536 (draw_info->linejoin == RoundJoin)) || in DrawPrimitive()
5539 status=DrawPolygonPrimitive(image,draw_info,primitive_info, in DrawPrimitive()
5543 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPrimitive()
5549 status&=DrawStrokePolygon(image,draw_info,primitive_info,exception); in DrawPrimitive()
5552 status&=DrawPolygonPrimitive(image,draw_info,primitive_info,exception); in DrawPrimitive()
5557 if (draw_info->compliance == SVGCompliance) in DrawPrimitive()
5598 const DrawInfo *draw_info,const PrimitiveInfo *primitive_info, in DrawRoundLinecap() argument
5615 return(DrawPolygonPrimitive(image,draw_info,linecap,exception)); in DrawRoundLinecap()
5619 const DrawInfo *draw_info,const PrimitiveInfo *primitive_info, in DrawStrokePolygon() argument
5644 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawStrokePolygon()
5645 clone_info->fill=draw_info->stroke; in DrawStrokePolygon()
5659 stroke_polygon=TraceStrokePolygon(image,draw_info,p); in DrawStrokePolygon()
5672 if ((draw_info->linecap == RoundCap) && (closed_path == MagickFalse)) in DrawStrokePolygon()
5674 status&=DrawRoundLinecap(image,draw_info,p,exception); in DrawStrokePolygon()
5675 status&=DrawRoundLinecap(image,draw_info,q,exception); in DrawStrokePolygon()
5741 MagickExport void GetDrawInfo(const ImageInfo *image_info,DrawInfo *draw_info) in GetDrawInfo() argument
5759 assert(draw_info != (DrawInfo *) NULL); in GetDrawInfo()
5760 (void) memset(draw_info,0,sizeof(*draw_info)); in GetDrawInfo()
5762 GetAffineMatrix(&draw_info->affine); in GetDrawInfo()
5764 (void) QueryColorCompliance("#000F",AllCompliance,&draw_info->fill, in GetDrawInfo()
5766 (void) QueryColorCompliance("#FFF0",AllCompliance,&draw_info->stroke, in GetDrawInfo()
5768 draw_info->stroke_antialias=clone_info->antialias; in GetDrawInfo()
5769 draw_info->stroke_width=1.0; in GetDrawInfo()
5770 draw_info->fill_rule=EvenOddRule; in GetDrawInfo()
5771 draw_info->alpha=OpaqueAlpha; in GetDrawInfo()
5772 draw_info->fill_alpha=OpaqueAlpha; in GetDrawInfo()
5773 draw_info->stroke_alpha=OpaqueAlpha; in GetDrawInfo()
5774 draw_info->linecap=ButtCap; in GetDrawInfo()
5775 draw_info->linejoin=MiterJoin; in GetDrawInfo()
5776 draw_info->miterlimit=10; in GetDrawInfo()
5777 draw_info->decorate=NoDecoration; in GetDrawInfo()
5778 draw_info->pointsize=12.0; in GetDrawInfo()
5779 draw_info->undercolor.alpha=(MagickRealType) TransparentAlpha; in GetDrawInfo()
5780 draw_info->compose=OverCompositeOp; in GetDrawInfo()
5781 draw_info->render=MagickTrue; in GetDrawInfo()
5782 draw_info->clip_path=MagickFalse; in GetDrawInfo()
5783 draw_info->debug=IsEventLogging(); in GetDrawInfo()
5785 draw_info->font=AcquireString(clone_info->font); in GetDrawInfo()
5787 draw_info->density=AcquireString(clone_info->density); in GetDrawInfo()
5788 draw_info->text_antialias=clone_info->antialias; in GetDrawInfo()
5790 draw_info->pointsize=clone_info->pointsize; in GetDrawInfo()
5791 draw_info->border_color=clone_info->border_color; in GetDrawInfo()
5793 draw_info->server_name=AcquireString(clone_info->server_name); in GetDrawInfo()
5796 draw_info->direction=(DirectionType) ParseCommandOption( in GetDrawInfo()
5799 draw_info->direction=UndefinedDirection; in GetDrawInfo()
5802 (void) CloneString(&draw_info->encoding,option); in GetDrawInfo()
5805 (void) CloneString(&draw_info->family,option); in GetDrawInfo()
5808 (void) QueryColorCompliance(option,AllCompliance,&draw_info->fill, in GetDrawInfo()
5812 draw_info->gravity=(GravityType) ParseCommandOption(MagickGravityOptions, in GetDrawInfo()
5816 draw_info->interline_spacing=StringToDouble(option,&next_token); in GetDrawInfo()
5819 draw_info->interword_spacing=StringToDouble(option,&next_token); in GetDrawInfo()
5822 draw_info->kerning=StringToDouble(option,&next_token); in GetDrawInfo()
5825 (void) QueryColorCompliance(option,AllCompliance,&draw_info->stroke, in GetDrawInfo()
5829 draw_info->stroke_width=StringToDouble(option,&next_token); in GetDrawInfo()
5832 draw_info->style=(StyleType) ParseCommandOption(MagickStyleOptions, in GetDrawInfo()
5836 (void) QueryColorCompliance(option,AllCompliance,&draw_info->undercolor, in GetDrawInfo()
5847 draw_info->weight=(size_t) weight; in GetDrawInfo()
5850 draw_info->signature=MagickCoreSignature; in GetDrawInfo()
6987 const DrawInfo *draw_info,const PrimitiveInfo *primitive_info) in TraceStrokePolygon() argument
7078 if (((draw_info->linejoin == RoundJoin) || in TraceStrokePolygon()
7079 (draw_info->linejoin == MiterJoin)) && (closed_path != MagickFalse)) in TraceStrokePolygon()
7099 if ((draw_info->linecap != RoundCap) || (closed_path != MagickFalse)) in TraceStrokePolygon()
7153 mid=ExpandAffine(&draw_info->affine)*SaneStrokeWidth(image,draw_info)/2.0; in TraceStrokePolygon()
7154 miterlimit=(double) (draw_info->miterlimit*draw_info->miterlimit*mid*mid); in TraceStrokePolygon()
7155 if ((draw_info->linecap == SquareCap) && (closed_path == MagickFalse)) in TraceStrokePolygon()
7262 switch (draw_info->linejoin) in TraceStrokePolygon()
7335 switch (draw_info->linejoin) in TraceStrokePolygon()