• Home
  • Raw
  • Download

Lines Matching refs:graphic_context

2420     **graphic_context;  in RenderMVGContent()  local
2512 graphic_context=(DrawInfo **) AcquireMagickMemory(sizeof(*graphic_context)); in RenderMVGContent()
2513 if (graphic_context == (DrawInfo **) NULL) in RenderMVGContent()
2526 graphic_context[n]=DestroyDrawInfo(graphic_context[n]); in RenderMVGContent()
2527 graphic_context=(DrawInfo **) RelinquishMagickMemory(graphic_context); in RenderMVGContent()
2537 graphic_context[n]=CloneDrawInfo((ImageInfo *) NULL,draw_info); in RenderMVGContent()
2538 graphic_context[n]->viewbox=image->page; in RenderMVGContent()
2541 graphic_context[n]->viewbox.width=image->columns; in RenderMVGContent()
2542 graphic_context[n]->viewbox.height=image->rows; in RenderMVGContent()
2570 current=graphic_context[n]->affine; in RenderMVGContent()
2642 &graphic_context[n]->border_color,exception); in RenderMVGContent()
2700 (void) CloneString(&graphic_context[n]->clip_mask,token); in RenderMVGContent()
2704 if (graphic_context[n]->clipping_mask != (Image *) NULL) in RenderMVGContent()
2705 graphic_context[n]->clipping_mask= in RenderMVGContent()
2706 DestroyImage(graphic_context[n]->clipping_mask); in RenderMVGContent()
2707 graphic_context[n]->clipping_mask=DrawClippingMask(image, in RenderMVGContent()
2708 graphic_context[n],token,clip_path,exception); in RenderMVGContent()
2710 status&=DrawClipPath(image,graphic_context[n], in RenderMVGContent()
2711 graphic_context[n]->clip_mask,exception); in RenderMVGContent()
2728 graphic_context[n]->fill_rule=(FillRule) fill_rule; in RenderMVGContent()
2744 graphic_context[n]->clip_units=(ClipPathUnits) clip_units; in RenderMVGContent()
2773 graphic_context[n]->compliance=(ComplianceType) ParseCommandOption( in RenderMVGContent()
2796 graphic_context[n]->decorate=(DecorationType) decorate; in RenderMVGContent()
2802 (void) CloneString(&graphic_context[n]->density,token); in RenderMVGContent()
2816 graphic_context[n]->direction=(DirectionType) direction; in RenderMVGContent()
2833 (void) CloneString(&graphic_context[n]->encoding,token); in RenderMVGContent()
2845 if (graphic_context[n]->clip_path != MagickFalse) in RenderMVGContent()
2850 &graphic_context[n]->fill_pattern,exception); in RenderMVGContent()
2854 &graphic_context[n]->fill,exception); in RenderMVGContent()
2855 if (graphic_context[n]->fill_alpha != OpaqueAlpha) in RenderMVGContent()
2856 graphic_context[n]->fill.alpha=graphic_context[n]->fill_alpha; in RenderMVGContent()
2866 if (graphic_context[n]->clip_path != MagickFalse) in RenderMVGContent()
2873 graphic_context[n]->fill_alpha*=opacity; in RenderMVGContent()
2874 if (graphic_context[n]->fill.alpha != TransparentAlpha) in RenderMVGContent()
2875 graphic_context[n]->fill.alpha=graphic_context[n]->fill_alpha; in RenderMVGContent()
2877 graphic_context[n]->fill.alpha=(MagickRealType) in RenderMVGContent()
2894 graphic_context[n]->fill_rule=(FillRule) fill_rule; in RenderMVGContent()
2900 (void) CloneString(&graphic_context[n]->font,token); in RenderMVGContent()
2902 graphic_context[n]->font=(char *) RelinquishMagickMemory( in RenderMVGContent()
2903 graphic_context[n]->font); in RenderMVGContent()
2909 (void) CloneString(&graphic_context[n]->family,token); in RenderMVGContent()
2915 graphic_context[n]->pointsize=StringToDouble(token,&next_token); in RenderMVGContent()
2932 graphic_context[n]->stretch=(StretchType) stretch; in RenderMVGContent()
2947 graphic_context[n]->style=(StyleType) style; in RenderMVGContent()
2959 graphic_context[n]->weight=(size_t) weight; in RenderMVGContent()
2985 graphic_context[n]->gravity=(GravityType) gravity; in RenderMVGContent()
3007 graphic_context[n]->compose=(CompositeOperator) compose; in RenderMVGContent()
3013 graphic_context[n]->interline_spacing=StringToDouble(token, in RenderMVGContent()
3022 graphic_context[n]->interword_spacing=StringToDouble(token, in RenderMVGContent()
3037 graphic_context[n]->kerning=StringToDouble(token,&next_token); in RenderMVGContent()
3051 clone_info=CloneDrawInfo((ImageInfo *) NULL,graphic_context[n]); in RenderMVGContent()
3054 graphic_context[n]->kerning=metrics.width* in RenderMVGContent()
3084 if (graphic_context[n]->composite_mask != (Image *) NULL) in RenderMVGContent()
3085 graphic_context[n]->composite_mask= in RenderMVGContent()
3086 DestroyImage(graphic_context[n]->composite_mask); in RenderMVGContent()
3087 graphic_context[n]->composite_mask=DrawCompositeMask(image, in RenderMVGContent()
3088 graphic_context[n],token,mask_path,exception); in RenderMVGContent()
3091 graphic_context[n]->composite_mask,exception); in RenderMVGContent()
3111 if (graphic_context[n]->clip_path != MagickFalse) in RenderMVGContent()
3118 graphic_context[n]->fill_alpha*=opacity; in RenderMVGContent()
3119 if (graphic_context[n]->fill_alpha != OpaqueAlpha) in RenderMVGContent()
3120 graphic_context[n]->fill.alpha=graphic_context[n]->fill_alpha; in RenderMVGContent()
3121 graphic_context[n]->stroke_alpha*=opacity; in RenderMVGContent()
3122 if (graphic_context[n]->stroke_alpha != OpaqueAlpha) in RenderMVGContent()
3123 graphic_context[n]->stroke.alpha=graphic_context[n]->stroke_alpha; in RenderMVGContent()
3162 graphic_context[n]->render=defsDepth > 0 ? MagickFalse : in RenderMVGContent()
3178 if ((graphic_context[n]->clip_mask != (char *) NULL) && in RenderMVGContent()
3180 if (LocaleCompare(graphic_context[n]->clip_mask, in RenderMVGContent()
3181 graphic_context[n-1]->clip_mask) != 0) in RenderMVGContent()
3184 graphic_context[n]=DestroyDrawInfo(graphic_context[n]); in RenderMVGContent()
3195 graphic_context[n]->render=symbolDepth > 0 ? MagickFalse : in RenderMVGContent()
3241 graphic_context[n]->render=defsDepth > 0 ? MagickFalse : in RenderMVGContent()
3303 bounds.x1=graphic_context[n]->affine.sx*segment.x1+ in RenderMVGContent()
3304 graphic_context[n]->affine.ry*segment.y1+ in RenderMVGContent()
3305 graphic_context[n]->affine.tx; in RenderMVGContent()
3306 bounds.y1=graphic_context[n]->affine.rx*segment.x1+ in RenderMVGContent()
3307 graphic_context[n]->affine.sy*segment.y1+ in RenderMVGContent()
3308 graphic_context[n]->affine.ty; in RenderMVGContent()
3309 bounds.x2=graphic_context[n]->affine.sx*segment.x2+ in RenderMVGContent()
3310 graphic_context[n]->affine.ry*segment.y2+ in RenderMVGContent()
3311 graphic_context[n]->affine.tx; in RenderMVGContent()
3312 bounds.y2=graphic_context[n]->affine.rx*segment.x2+ in RenderMVGContent()
3313 graphic_context[n]->affine.sy*segment.y2+ in RenderMVGContent()
3314 graphic_context[n]->affine.ty; in RenderMVGContent()
3333 graphic_context=(DrawInfo **) ResizeQuantumMemory( in RenderMVGContent()
3334 graphic_context,(size_t) (n+1),sizeof(*graphic_context)); in RenderMVGContent()
3335 if (graphic_context == (DrawInfo **) NULL) in RenderMVGContent()
3342 graphic_context[n]=CloneDrawInfo((ImageInfo *) NULL, in RenderMVGContent()
3343 graphic_context[n-1]); in RenderMVGContent()
3418 graphic_context[n]->render=symbolDepth > 0 ? MagickFalse : in RenderMVGContent()
3525 if (graphic_context[n]->clip_path != MagickFalse) in RenderMVGContent()
3530 &graphic_context[n]->stroke_pattern,exception); in RenderMVGContent()
3534 &graphic_context[n]->stroke,exception); in RenderMVGContent()
3535 if (graphic_context[n]->stroke_alpha != OpaqueAlpha) in RenderMVGContent()
3536 graphic_context[n]->stroke.alpha= in RenderMVGContent()
3537 graphic_context[n]->stroke_alpha; in RenderMVGContent()
3544 graphic_context[n]->stroke_antialias=StringToLong(token) != 0 ? in RenderMVGContent()
3550 if (graphic_context[n]->dash_pattern != (double *) NULL) in RenderMVGContent()
3551 graphic_context[n]->dash_pattern=(double *) in RenderMVGContent()
3552 RelinquishMagickMemory(graphic_context[n]->dash_pattern); in RenderMVGContent()
3568 graphic_context[n]->dash_pattern=(double *) in RenderMVGContent()
3570 sizeof(*graphic_context[n]->dash_pattern)); in RenderMVGContent()
3571 if (graphic_context[n]->dash_pattern == (double *) NULL) in RenderMVGContent()
3579 (void) memset(graphic_context[n]->dash_pattern,0,(size_t) in RenderMVGContent()
3580 (2*x+2)*sizeof(*graphic_context[n]->dash_pattern)); in RenderMVGContent()
3586 graphic_context[n]->dash_pattern[j]=StringToDouble(token, in RenderMVGContent()
3590 if (graphic_context[n]->dash_pattern[j] < 0.0) in RenderMVGContent()
3595 graphic_context[n]->dash_pattern[j]= in RenderMVGContent()
3596 graphic_context[n]->dash_pattern[j-x]; in RenderMVGContent()
3597 graphic_context[n]->dash_pattern[j]=0.0; in RenderMVGContent()
3606 graphic_context[n]->dash_offset=StringToDouble(token,&next_token); in RenderMVGContent()
3623 graphic_context[n]->linecap=(LineCap) linecap; in RenderMVGContent()
3639 graphic_context[n]->linejoin=(LineJoin) linejoin; in RenderMVGContent()
3645 graphic_context[n]->miterlimit=StringToUnsignedLong(token); in RenderMVGContent()
3654 if (graphic_context[n]->clip_path != MagickFalse) in RenderMVGContent()
3661 graphic_context[n]->stroke_alpha*=opacity; in RenderMVGContent()
3662 if (graphic_context[n]->stroke.alpha != TransparentAlpha) in RenderMVGContent()
3663 graphic_context[n]->stroke.alpha=graphic_context[n]->stroke_alpha; in RenderMVGContent()
3665 graphic_context[n]->stroke.alpha=(MagickRealType) in RenderMVGContent()
3672 if (graphic_context[n]->clip_path != MagickFalse) in RenderMVGContent()
3674 graphic_context[n]->stroke_width=StringToDouble(token,&next_token); in RenderMVGContent()
3703 graphic_context[n]->align=(AlignType) align; in RenderMVGContent()
3718 graphic_context[n]->align=(AlignType) align; in RenderMVGContent()
3724 graphic_context[n]->text_antialias=StringToLong(token) != 0 ? in RenderMVGContent()
3732 &graphic_context[n]->undercolor,exception); in RenderMVGContent()
3768 clone_info=CloneDrawInfo((ImageInfo *) NULL,graphic_context[n]); in RenderMVGContent()
3783 graphic_context[n]->viewbox.x=(ssize_t) ceil(StringToDouble(token, in RenderMVGContent()
3790 graphic_context[n]->viewbox.y=(ssize_t) ceil(StringToDouble(token, in RenderMVGContent()
3797 graphic_context[n]->viewbox.width=(size_t) floor(StringToDouble( in RenderMVGContent()
3804 graphic_context[n]->viewbox.height=(size_t) floor(StringToDouble( in RenderMVGContent()
3819 graphic_context[n]->interword_spacing=StringToDouble(token, in RenderMVGContent()
3841 graphic_context[n]->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in RenderMVGContent()
3842 graphic_context[n]->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in RenderMVGContent()
3843 graphic_context[n]->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in RenderMVGContent()
3844 graphic_context[n]->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in RenderMVGContent()
3845 graphic_context[n]->affine.tx=current.sx*affine.tx+current.ry*affine.ty+ in RenderMVGContent()
3847 graphic_context[n]->affine.ty=current.rx*affine.tx+current.sy*affine.ty+ in RenderMVGContent()
4257 clone_info=CloneDrawInfo((ImageInfo *) NULL,graphic_context[n]); in RenderMVGContent()
4305 primitive_info[i].point.x=graphic_context[n]->affine.sx*point.x+ in RenderMVGContent()
4306 graphic_context[n]->affine.ry*point.y+graphic_context[n]->affine.tx; in RenderMVGContent()
4307 primitive_info[i].point.y=graphic_context[n]->affine.rx*point.x+ in RenderMVGContent()
4308 graphic_context[n]->affine.sy*point.y+graphic_context[n]->affine.ty; in RenderMVGContent()
4310 if (point.x < graphic_context[n]->bounds.x1) in RenderMVGContent()
4311 graphic_context[n]->bounds.x1=point.x; in RenderMVGContent()
4312 if (point.y < graphic_context[n]->bounds.y1) in RenderMVGContent()
4313 graphic_context[n]->bounds.y1=point.y; in RenderMVGContent()
4314 if (point.x > graphic_context[n]->bounds.x2) in RenderMVGContent()
4315 graphic_context[n]->bounds.x2=point.x; in RenderMVGContent()
4316 if (point.y > graphic_context[n]->bounds.y2) in RenderMVGContent()
4317 graphic_context[n]->bounds.y2=point.y; in RenderMVGContent()
4323 if (graphic_context[n]->render != MagickFalse) in RenderMVGContent()
4326 (graphic_context[n]->clip_mask != (char *) NULL) && in RenderMVGContent()
4327 (LocaleCompare(graphic_context[n]->clip_mask, in RenderMVGContent()
4328 graphic_context[n-1]->clip_mask) != 0)) in RenderMVGContent()
4329 status&=DrawClipPath(image,graphic_context[n], in RenderMVGContent()
4330 graphic_context[n]->clip_mask,exception); in RenderMVGContent()
4331 status&=DrawPrimitive(image,graphic_context[n],primitive_info, in RenderMVGContent()
4361 graphic_context[n]=DestroyDrawInfo(graphic_context[n]); in RenderMVGContent()
4362 graphic_context=(DrawInfo **) RelinquishMagickMemory(graphic_context); in RenderMVGContent()