• Home
  • Raw
  • Download

Lines Matching refs:clone_info

273     *clone_info;  in CloneDrawInfo()  local
278 clone_info=(DrawInfo *) AcquireCriticalMemory(sizeof(*clone_info)); in CloneDrawInfo()
279 GetDrawInfo(image_info,clone_info); in CloneDrawInfo()
281 return(clone_info); in CloneDrawInfo()
284 (void) CloneString(&clone_info->id,draw_info->id); in CloneDrawInfo()
286 (void) CloneString(&clone_info->primitive,draw_info->primitive); in CloneDrawInfo()
288 (void) CloneString(&clone_info->geometry,draw_info->geometry); in CloneDrawInfo()
289 clone_info->compliance=draw_info->compliance; in CloneDrawInfo()
290 clone_info->viewbox=draw_info->viewbox; in CloneDrawInfo()
291 clone_info->affine=draw_info->affine; in CloneDrawInfo()
292 clone_info->gravity=draw_info->gravity; in CloneDrawInfo()
293 clone_info->fill=draw_info->fill; in CloneDrawInfo()
294 clone_info->stroke=draw_info->stroke; in CloneDrawInfo()
295 clone_info->stroke_width=draw_info->stroke_width; in CloneDrawInfo()
297 clone_info->fill_pattern=CloneImage(draw_info->fill_pattern,0,0,MagickTrue, in CloneDrawInfo()
300 clone_info->stroke_pattern=CloneImage(draw_info->stroke_pattern,0,0, in CloneDrawInfo()
302 clone_info->stroke_antialias=draw_info->stroke_antialias; in CloneDrawInfo()
303 clone_info->text_antialias=draw_info->text_antialias; in CloneDrawInfo()
304 clone_info->fill_rule=draw_info->fill_rule; in CloneDrawInfo()
305 clone_info->linecap=draw_info->linecap; in CloneDrawInfo()
306 clone_info->linejoin=draw_info->linejoin; in CloneDrawInfo()
307 clone_info->miterlimit=draw_info->miterlimit; in CloneDrawInfo()
308 clone_info->dash_offset=draw_info->dash_offset; in CloneDrawInfo()
309 clone_info->decorate=draw_info->decorate; in CloneDrawInfo()
310 clone_info->compose=draw_info->compose; in CloneDrawInfo()
312 (void) CloneString(&clone_info->text,draw_info->text); in CloneDrawInfo()
314 (void) CloneString(&clone_info->font,draw_info->font); in CloneDrawInfo()
316 (void) CloneString(&clone_info->metrics,draw_info->metrics); in CloneDrawInfo()
318 (void) CloneString(&clone_info->family,draw_info->family); in CloneDrawInfo()
319 clone_info->style=draw_info->style; in CloneDrawInfo()
320 clone_info->stretch=draw_info->stretch; in CloneDrawInfo()
321 clone_info->weight=draw_info->weight; in CloneDrawInfo()
323 (void) CloneString(&clone_info->encoding,draw_info->encoding); in CloneDrawInfo()
324 clone_info->pointsize=draw_info->pointsize; in CloneDrawInfo()
325 clone_info->kerning=draw_info->kerning; in CloneDrawInfo()
326 clone_info->interline_spacing=draw_info->interline_spacing; in CloneDrawInfo()
327 clone_info->interword_spacing=draw_info->interword_spacing; in CloneDrawInfo()
328 clone_info->direction=draw_info->direction; in CloneDrawInfo()
330 (void) CloneString(&clone_info->density,draw_info->density); in CloneDrawInfo()
331 clone_info->align=draw_info->align; in CloneDrawInfo()
332 clone_info->undercolor=draw_info->undercolor; in CloneDrawInfo()
333 clone_info->border_color=draw_info->border_color; in CloneDrawInfo()
335 (void) CloneString(&clone_info->server_name,draw_info->server_name); in CloneDrawInfo()
342 clone_info->dash_pattern=(double *) AcquireQuantumMemory((size_t) (2*x+2), in CloneDrawInfo()
343 sizeof(*clone_info->dash_pattern)); in CloneDrawInfo()
344 if (clone_info->dash_pattern == (double *) NULL) in CloneDrawInfo()
347 (void) memset(clone_info->dash_pattern,0,(size_t) (2*x+2)* in CloneDrawInfo()
348 sizeof(*clone_info->dash_pattern)); in CloneDrawInfo()
349 (void) memcpy(clone_info->dash_pattern,draw_info->dash_pattern,(size_t) in CloneDrawInfo()
350 (x+1)*sizeof(*clone_info->dash_pattern)); in CloneDrawInfo()
352 clone_info->gradient=draw_info->gradient; in CloneDrawInfo()
358 number_stops=clone_info->gradient.number_stops; in CloneDrawInfo()
359 clone_info->gradient.stops=(StopInfo *) AcquireQuantumMemory((size_t) in CloneDrawInfo()
360 number_stops,sizeof(*clone_info->gradient.stops)); in CloneDrawInfo()
361 if (clone_info->gradient.stops == (StopInfo *) NULL) in CloneDrawInfo()
364 (void) memcpy(clone_info->gradient.stops,draw_info->gradient.stops, in CloneDrawInfo()
365 (size_t) number_stops*sizeof(*clone_info->gradient.stops)); in CloneDrawInfo()
367 clone_info->bounds=draw_info->bounds; in CloneDrawInfo()
368 clone_info->fill_alpha=draw_info->fill_alpha; in CloneDrawInfo()
369 clone_info->stroke_alpha=draw_info->stroke_alpha; in CloneDrawInfo()
370 clone_info->element_reference=draw_info->element_reference; in CloneDrawInfo()
371 clone_info->clip_path=draw_info->clip_path; in CloneDrawInfo()
372 clone_info->clip_units=draw_info->clip_units; in CloneDrawInfo()
374 (void) CloneString(&clone_info->clip_mask,draw_info->clip_mask); in CloneDrawInfo()
376 clone_info->clipping_mask=CloneImage(draw_info->clipping_mask,0,0, in CloneDrawInfo()
379 clone_info->composite_mask=CloneImage(draw_info->composite_mask,0,0, in CloneDrawInfo()
381 clone_info->render=draw_info->render; in CloneDrawInfo()
382 clone_info->debug=IsEventLogging(); in CloneDrawInfo()
384 return(clone_info); in CloneDrawInfo()
1344 *clone_info; in DrawBoundingRectangles() local
1367 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawBoundingRectangles()
1368 status=QueryColorCompliance("#000F",AllCompliance,&clone_info->fill, in DrawBoundingRectangles()
1372 clone_info=DestroyDrawInfo(clone_info); in DrawBoundingRectangles()
1377 if (clone_info->density != (char *) NULL) in DrawBoundingRectangles()
1385 flags=ParseGeometry(clone_info->density,&geometry_info); in DrawBoundingRectangles()
1391 mid=(resolution.x/96.0)*ExpandAffine(&clone_info->affine)* in DrawBoundingRectangles()
1392 clone_info->stroke_width/2.0; in DrawBoundingRectangles()
1426 status=QueryColorCompliance("#f00",AllCompliance,&clone_info->stroke, in DrawBoundingRectangles()
1429 status=QueryColorCompliance("#0f0",AllCompliance,&clone_info->stroke, in DrawBoundingRectangles()
1442 status=DrawPrimitive(image,clone_info,primitive_info,exception); in DrawBoundingRectangles()
1448 clone_info=DestroyDrawInfo(clone_info); in DrawBoundingRectangles()
1452 status=QueryColorCompliance("#00f",AllCompliance,&clone_info->stroke, in DrawBoundingRectangles()
1456 clone_info=DestroyDrawInfo(clone_info); in DrawBoundingRectangles()
1468 status=DrawPrimitive(image,clone_info,primitive_info,exception); in DrawBoundingRectangles()
1469 clone_info=DestroyDrawInfo(clone_info); in DrawBoundingRectangles()
1562 *clone_info; in DrawClippingMask() local
1592 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawClippingMask()
1593 (void) CloneString(&clone_info->primitive,clip_path); in DrawClippingMask()
1594 status=QueryColorCompliance("#ffffff",AllCompliance,&clone_info->fill, in DrawClippingMask()
1596 if (clone_info->clip_mask != (char *) NULL) in DrawClippingMask()
1597 clone_info->clip_mask=DestroyString(clone_info->clip_mask); in DrawClippingMask()
1598 status=QueryColorCompliance("#00000000",AllCompliance,&clone_info->stroke, in DrawClippingMask()
1600 clone_info->stroke_width=0.0; in DrawClippingMask()
1601 clone_info->alpha=OpaqueAlpha; in DrawClippingMask()
1602 clone_info->clip_path=MagickTrue; in DrawClippingMask()
1603 status=RenderMVGContent(clip_mask,clone_info,0,exception); in DrawClippingMask()
1604 clone_info=DestroyDrawInfo(clone_info); in DrawClippingMask()
1660 *clone_info; in DrawCompositeMask() local
1687 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawCompositeMask()
1688 (void) CloneString(&clone_info->primitive,mask_path); in DrawCompositeMask()
1689 status=QueryColorCompliance("#ffffff",AllCompliance,&clone_info->fill, in DrawCompositeMask()
1691 status=QueryColorCompliance("#00000000",AllCompliance,&clone_info->stroke, in DrawCompositeMask()
1693 clone_info->stroke_width=0.0; in DrawCompositeMask()
1694 clone_info->alpha=OpaqueAlpha; in DrawCompositeMask()
1695 status=RenderMVGContent(composite_mask,clone_info,0,exception); in DrawCompositeMask()
1696 clone_info=DestroyDrawInfo(clone_info); in DrawCompositeMask()
1755 *clone_info; in DrawDashPolygon() local
1792 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawDashPolygon()
1793 clone_info->miterlimit=0; in DrawDashPolygon()
1864 status&=DrawStrokePolygon(image,clone_info,dash_polygon,exception); in DrawDashPolygon()
1891 status&=DrawStrokePolygon(image,clone_info,dash_polygon,exception); in DrawDashPolygon()
1894 clone_info=DestroyDrawInfo(clone_info); in DrawDashPolygon()
2477 *clone_info, in RenderMVGContent() local
3128 clone_info=CloneDrawInfo((ImageInfo *) NULL,graphic_context[n]); in RenderMVGContent()
3129 clone_info->text=AcquireString(" "); in RenderMVGContent()
3130 status&=GetTypeMetrics(image,clone_info,&metrics,exception); in RenderMVGContent()
3133 clone_info=DestroyDrawInfo(clone_info); in RenderMVGContent()
3870 clone_info=CloneDrawInfo((ImageInfo *) NULL,graphic_context[n]); in RenderMVGContent()
3871 (void) CloneString(&clone_info->primitive,use); in RenderMVGContent()
3872 status=RenderMVGContent(image,clone_info,depth+1,exception); in RenderMVGContent()
3873 clone_info=DestroyDrawInfo(clone_info); in RenderMVGContent()
4336 clone_info=CloneDrawInfo((ImageInfo *) NULL,graphic_context[n]); in RenderMVGContent()
4350 clone_info->render=MagickFalse; in RenderMVGContent()
4351 clone_info->text=AcquireString(token); in RenderMVGContent()
4352 status&=GetTypeMetrics(image,clone_info,&metrics,exception); in RenderMVGContent()
4353 clone_info=DestroyDrawInfo(clone_info); in RenderMVGContent()
4521 *clone_info; in DrawPatternPath() local
4555 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPatternPath()
4556 if (clone_info->fill_pattern != (Image *) NULL) in DrawPatternPath()
4557 clone_info->fill_pattern=DestroyImage(clone_info->fill_pattern); in DrawPatternPath()
4558 if (clone_info->stroke_pattern != (Image *) NULL) in DrawPatternPath()
4559 clone_info->stroke_pattern=DestroyImage(clone_info->stroke_pattern); in DrawPatternPath()
4563 clone_info->gradient.type=(GradientType) ParseCommandOption( in DrawPatternPath()
4565 (void) CloneString(&clone_info->primitive,path); in DrawPatternPath()
4566 status=RenderMVGContent(*pattern,clone_info,0,exception); in DrawPatternPath()
4567 clone_info=DestroyDrawInfo(clone_info); in DrawPatternPath()
5518 *clone_info; in DrawPrimitive() local
5529 clone_info=AcquireImageInfo(); in DrawPrimitive()
5532 composite_images=ReadInlineImage(clone_info,primitive_info->text, in DrawPrimitive()
5537 (void) CopyMagickString(clone_info->filename,primitive_info->text, in DrawPrimitive()
5539 status&=SetImageInfo(clone_info,0,exception); in DrawPrimitive()
5540 if ((LocaleNCompare(clone_info->magick,"http",4) == 0) || in DrawPrimitive()
5541 (LocaleCompare(clone_info->magick,"mpri") == 0)) in DrawPrimitive()
5542 (void) CopyMagickString(clone_info->filename,primitive_info->text, in DrawPrimitive()
5544 if (clone_info->size != (char *) NULL) in DrawPrimitive()
5545 clone_info->size=DestroyString(clone_info->size); in DrawPrimitive()
5546 if (clone_info->extract != (char *) NULL) in DrawPrimitive()
5547 clone_info->extract=DestroyString(clone_info->extract); in DrawPrimitive()
5548 if (*clone_info->filename != '\0') in DrawPrimitive()
5549 composite_images=ReadImage(clone_info,exception); in DrawPrimitive()
5551 clone_info=DestroyImageInfo(clone_info); in DrawPrimitive()
5628 *clone_info; in DrawPrimitive() local
5632 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPrimitive()
5633 (void) CloneString(&clone_info->text,primitive_info->text); in DrawPrimitive()
5636 (void) CloneString(&clone_info->geometry,geometry); in DrawPrimitive()
5637 status&=AnnotateImage(image,clone_info,exception); in DrawPrimitive()
5638 clone_info=DestroyDrawInfo(clone_info); in DrawPrimitive()
5648 *clone_info; in DrawPrimitive() local
5661 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPrimitive()
5662 clone_info->stroke_width=0.0; in DrawPrimitive()
5663 clone_info->stroke.alpha=(MagickRealType) TransparentAlpha; in DrawPrimitive()
5664 status&=DrawPolygonPrimitive(image,clone_info,primitive_info, in DrawPrimitive()
5666 clone_info=DestroyDrawInfo(clone_info); in DrawPrimitive()
5701 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawPrimitive()
5702 clone_info->stroke_width=0.0; in DrawPrimitive()
5703 clone_info->stroke.alpha=(MagickRealType) TransparentAlpha; in DrawPrimitive()
5704 status&=DrawPolygonPrimitive(image,clone_info,primitive_info, in DrawPrimitive()
5706 clone_info=DestroyDrawInfo(clone_info); in DrawPrimitive()
5782 *clone_info; in DrawStrokePolygon() local
5803 clone_info=CloneDrawInfo((ImageInfo *) NULL,draw_info); in DrawStrokePolygon()
5804 clone_info->fill=draw_info->stroke; in DrawStrokePolygon()
5805 if (clone_info->fill_pattern != (Image *) NULL) in DrawStrokePolygon()
5806 clone_info->fill_pattern=DestroyImage(clone_info->fill_pattern); in DrawStrokePolygon()
5807 if (clone_info->stroke_pattern != (Image *) NULL) in DrawStrokePolygon()
5808 clone_info->fill_pattern=CloneImage(clone_info->stroke_pattern,0,0, in DrawStrokePolygon()
5810 clone_info->stroke.alpha=(MagickRealType) TransparentAlpha; in DrawStrokePolygon()
5811 clone_info->stroke_width=0.0; in DrawStrokePolygon()
5812 clone_info->fill_rule=NonZeroRule; in DrawStrokePolygon()
5824 status&=DrawPolygonPrimitive(image,clone_info,stroke_polygon,exception); in DrawStrokePolygon()
5836 clone_info=DestroyDrawInfo(clone_info); in DrawStrokePolygon()
5911 *clone_info; in GetDrawInfo() local
5919 clone_info=CloneImageInfo(image_info); in GetDrawInfo()
5926 draw_info->stroke_antialias=clone_info->antialias; in GetDrawInfo()
5942 if (clone_info->font != (char *) NULL) in GetDrawInfo()
5943 draw_info->font=AcquireString(clone_info->font); in GetDrawInfo()
5944 if (clone_info->density != (char *) NULL) in GetDrawInfo()
5945 draw_info->density=AcquireString(clone_info->density); in GetDrawInfo()
5946 draw_info->text_antialias=clone_info->antialias; in GetDrawInfo()
5947 if (fabs(clone_info->pointsize) >= MagickEpsilon) in GetDrawInfo()
5948 draw_info->pointsize=clone_info->pointsize; in GetDrawInfo()
5949 draw_info->border_color=clone_info->border_color; in GetDrawInfo()
5950 if (clone_info->server_name != (char *) NULL) in GetDrawInfo()
5951 draw_info->server_name=AcquireString(clone_info->server_name); in GetDrawInfo()
5952 option=GetImageOption(clone_info,"direction"); in GetDrawInfo()
5958 option=GetImageOption(clone_info,"encoding"); in GetDrawInfo()
5961 option=GetImageOption(clone_info,"family"); in GetDrawInfo()
5964 option=GetImageOption(clone_info,"fill"); in GetDrawInfo()
5968 option=GetImageOption(clone_info,"gravity"); in GetDrawInfo()
5972 option=GetImageOption(clone_info,"interline-spacing"); in GetDrawInfo()
5975 option=GetImageOption(clone_info,"interword-spacing"); in GetDrawInfo()
5978 option=GetImageOption(clone_info,"kerning"); in GetDrawInfo()
5981 option=GetImageOption(clone_info,"stroke"); in GetDrawInfo()
5985 option=GetImageOption(clone_info,"strokewidth"); in GetDrawInfo()
5988 option=GetImageOption(clone_info,"style"); in GetDrawInfo()
5992 option=GetImageOption(clone_info,"undercolor"); in GetDrawInfo()
5996 option=GetImageOption(clone_info,"weight"); in GetDrawInfo()
6009 clone_info=DestroyImageInfo(clone_info); in GetDrawInfo()