Lines Matching refs:clone_info
253 *clone_info;
258 clone_info=(DrawInfo *) AcquireMagickMemory(sizeof(*clone_info));
259 if (clone_info == (DrawInfo *) NULL)
261 GetDrawInfo(image_info,clone_info);
263 return(clone_info);
265 if (clone_info->primitive != (char *) NULL)
266 (void) CloneString(&clone_info->primitive,draw_info->primitive);
268 (void) CloneString(&clone_info->geometry,draw_info->geometry);
269 clone_info->viewbox=draw_info->viewbox;
270 clone_info->affine=draw_info->affine;
271 clone_info->gravity=draw_info->gravity;
272 clone_info->fill=draw_info->fill;
273 clone_info->stroke=draw_info->stroke;
274 clone_info->stroke_width=draw_info->stroke_width;
276 clone_info->fill_pattern=CloneImage(draw_info->fill_pattern,0,0,MagickTrue,
279 clone_info->stroke_pattern=CloneImage(draw_info->stroke_pattern,0,0,
281 clone_info->stroke_antialias=draw_info->stroke_antialias;
282 clone_info->text_antialias=draw_info->text_antialias;
283 clone_info->fill_rule=draw_info->fill_rule;
284 clone_info->linecap=draw_info->linecap;
285 clone_info->linejoin=draw_info->linejoin;
286 clone_info->miterlimit=draw_info->miterlimit;
287 clone_info->dash_offset=draw_info->dash_offset;
288 clone_info->decorate=draw_info->decorate;
289 clone_info->compose=draw_info->compose;
291 (void) CloneString(&clone_info->text,draw_info->text);
293 (void) CloneString(&clone_info->font,draw_info->font);
295 (void) CloneString(&clone_info->metrics,draw_info->metrics);
297 (void) CloneString(&clone_info->family,draw_info->family);
298 clone_info->style=draw_info->style;
299 clone_info->stretch=draw_info->stretch;
300 clone_info->weight=draw_info->weight;
302 (void) CloneString(&clone_info->encoding,draw_info->encoding);
303 clone_info->pointsize=draw_info->pointsize;
304 clone_info->kerning=draw_info->kerning;
305 clone_info->interline_spacing=draw_info->interline_spacing;
306 clone_info->interword_spacing=draw_info->interword_spacing;
307 clone_info->direction=draw_info->direction;
309 (void) CloneString(&clone_info->density,draw_info->density);
310 clone_info->align=draw_info->align;
311 clone_info->undercolor=draw_info->undercolor;
312 clone_info->border_color=draw_info->border_color;
314 (void) CloneString(&clone_info->server_name,draw_info->server_name);
321 clone_info->dash_pattern=(double *) AcquireQuantumMemory((size_t) x+1UL,
322 sizeof(*clone_info->dash_pattern));
323 if (clone_info->dash_pattern == (double *) NULL)
326 (void) CopyMagickMemory(clone_info->dash_pattern,draw_info->dash_pattern,
327 (size_t) (x+1)*sizeof(*clone_info->dash_pattern));
329 clone_info->gradient=draw_info->gradient;
335 number_stops=clone_info->gradient.number_stops;
336 clone_info->gradient.stops=(StopInfo *) AcquireQuantumMemory((size_t)
337 number_stops,sizeof(*clone_info->gradient.stops));
338 if (clone_info->gradient.stops == (StopInfo *) NULL)
341 (void) CopyMagickMemory(clone_info->gradient.stops,
343 sizeof(*clone_info->gradient.stops));
346 (void) CloneString(&clone_info->clip_mask,draw_info->clip_mask);
347 clone_info->bounds=draw_info->bounds;
348 clone_info->clip_units=draw_info->clip_units;
349 clone_info->render=draw_info->render;
350 clone_info->fill_alpha=draw_info->fill_alpha;
351 clone_info->stroke_alpha=draw_info->stroke_alpha;
352 clone_info->element_reference=draw_info->element_reference;
353 clone_info->debug=IsEventLogging();
355 return(clone_info);
1270 *clone_info;
1292 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
1293 (void) QueryColorCompliance("#0000",AllCompliance,&clone_info->fill,
1297 if (clone_info->density != (char *) NULL)
1305 flags=ParseGeometry(clone_info->density,&geometry_info);
1311 mid=(resolution.x/72.0)*ExpandAffine(&clone_info->affine)*
1312 clone_info->stroke_width/2.0;
1346 (void) QueryColorCompliance("red",AllCompliance,&clone_info->stroke,
1349 (void) QueryColorCompliance("green",AllCompliance,&clone_info->stroke,
1360 (void) DrawPrimitive(image,clone_info,primitive_info,exception);
1363 (void) QueryColorCompliance("blue",AllCompliance,&clone_info->stroke,
1374 (void) DrawPrimitive(image,clone_info,primitive_info,exception);
1375 clone_info=DestroyDrawInfo(clone_info);
1421 *clone_info;
1445 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
1446 (void) CloneString(&clone_info->primitive,value);
1447 (void) QueryColorCompliance("#ffffff",AllCompliance,&clone_info->fill,
1449 clone_info->clip_mask=(char *) NULL;
1453 status&=DrawImage(image,clone_info,exception);
1454 clone_info=DestroyDrawInfo(clone_info);
1496 *clone_info;
1534 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
1535 clone_info->miterlimit=0;
1603 status&=DrawStrokePolygon(image,clone_info,dash_polygon,exception);
1626 status&=DrawStrokePolygon(image,clone_info,dash_polygon,exception);
1629 clone_info=DestroyDrawInfo(clone_info);
3668 *clone_info;
3702 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
3703 clone_info->fill_pattern=NewImageList();
3704 clone_info->stroke_pattern=NewImageList();
3708 clone_info->gradient.type=(GradientType) ParseCommandOption(
3710 (void) CloneString(&clone_info->primitive,path);
3711 status=DrawImage(*pattern,clone_info,exception);
3712 clone_info=DestroyDrawInfo(clone_info);
4602 *clone_info;
4613 clone_info=AcquireImageInfo();
4615 composite_image=ReadInlineImage(clone_info,primitive_info->text,
4619 (void) CopyMagickString(clone_info->filename,primitive_info->text,
4621 composite_image=ReadImage(clone_info,exception);
4623 clone_info=DestroyImageInfo(clone_info);
4694 *clone_info;
4698 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
4699 (void) CloneString(&clone_info->text,primitive_info->text);
4702 (void) CloneString(&clone_info->geometry,geometry);
4703 status&=AnnotateImage(image,clone_info,exception);
4704 clone_info=DestroyDrawInfo(clone_info);
4714 *clone_info;
4727 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
4728 clone_info->stroke_width=0.0;
4729 clone_info->stroke.alpha=(MagickRealType) TransparentAlpha;
4730 status&=DrawPolygonPrimitive(image,clone_info,primitive_info,
4732 clone_info=DestroyDrawInfo(clone_info);
4767 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
4768 clone_info->stroke_width=0.0;
4769 clone_info->stroke.alpha=(MagickRealType) TransparentAlpha;
4770 status&=DrawPolygonPrimitive(image,clone_info,primitive_info,
4772 clone_info=DestroyDrawInfo(clone_info);
4842 *clone_info;
4863 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info);
4864 clone_info->fill=draw_info->stroke;
4865 if (clone_info->fill_pattern != (Image *) NULL)
4866 clone_info->fill_pattern=DestroyImage(clone_info->fill_pattern);
4867 if (clone_info->stroke_pattern != (Image *) NULL)
4868 clone_info->fill_pattern=CloneImage(clone_info->stroke_pattern,0,0,
4870 clone_info->stroke.alpha=(MagickRealType) TransparentAlpha;
4871 clone_info->stroke_width=0.0;
4872 clone_info->fill_rule=NonZeroRule;
4877 status&=DrawPolygonPrimitive(image,clone_info,stroke_polygon,exception);
4890 clone_info=DestroyDrawInfo(clone_info);
4967 *clone_info;
4975 clone_info=CloneImageInfo(image_info);
4995 draw_info->stroke_antialias=clone_info->antialias;
4996 if (clone_info->font != (char *) NULL)
4997 draw_info->font=AcquireString(clone_info->font);
4998 if (clone_info->density != (char *) NULL)
4999 draw_info->density=AcquireString(clone_info->density);
5000 draw_info->text_antialias=clone_info->antialias;
5001 if (fabs(clone_info
5002 draw_info->pointsize=clone_info->pointsize;
5003 draw_info->border_color=clone_info->border_color;
5004 if (clone_info->server_name != (char *) NULL)
5005 draw_info->server_name=AcquireString(clone_info->server_name);
5006 option=GetImageOption(clone_info,"direction");
5012 option=GetImageOption(clone_info,"encoding");
5015 option=GetImageOption(clone_info,"family");
5018 option=GetImageOption(clone_info,"fill");
5022 option=GetImageOption(clone_info,"gravity");
5026 option=GetImageOption(clone_info,"interline-spacing");
5029 option=GetImageOption(clone_info,"interword-spacing");
5032 option=GetImageOption(clone_info,"kerning");
5035 option=GetImageOption(clone_info,"stroke");
5039 option=GetImageOption(clone_info,"strokewidth");
5042 option=GetImageOption(clone_info,"style");
5046 option=GetImageOption(clone_info,"undercolor");
5050 option=GetImageOption(clone_info,"weight");
5063 clone_info=DestroyImageInfo(clone_info);