Lines Matching refs:_drawInfo
32 _drawInfo(static_cast<DrawInfo*>(AcquireMagickMemory(sizeof(DrawInfo)))), in Options()
42 GetDrawInfo(_imageInfo,_drawInfo); in Options()
48 _drawInfo(CloneDrawInfo(_imageInfo,options_._drawInfo)), in Options()
62 _drawInfo=DestroyDrawInfo(_drawInfo); in ~Options()
115 _drawInfo->border_color=color_; in borderColor()
125 _drawInfo->undercolor=boxColor_; in boxColor()
130 return(Color(_drawInfo->undercolor)); in boxColor()
244 _drawInfo->fill=fillColor_; in fillColor()
252 return(_drawInfo->fill); in fillColor()
257 if (_drawInfo->fill_pattern) in fillPattern()
258 _drawInfo->fill_pattern=DestroyImageList(_drawInfo->fill_pattern); in fillPattern()
263 _drawInfo->fill_pattern=CloneImage(const_cast<MagickCore::Image*>( in fillPattern()
272 return(_drawInfo->fill_pattern); in fillPattern()
277 _drawInfo->fill_rule=fillRule_; in fillRule()
282 return(_drawInfo->fill_rule); in fillRule()
290 _drawInfo->font=(char *) RelinquishMagickMemory(_drawInfo->font); in font()
295 Magick::CloneString(&_drawInfo->font,font_); in font()
311 _drawInfo->family=(char *) RelinquishMagickMemory(_drawInfo->font); in fontFamily()
316 Magick::CloneString(&_drawInfo->family,family_); in fontFamily()
323 if (_drawInfo->family) in fontFamily()
324 return(std::string(_drawInfo->family)); in fontFamily()
332 _drawInfo->pointsize=pointSize_; in fontPointsize()
342 _drawInfo->style=style_; in fontStyle()
349 return(_drawInfo->style); in fontStyle()
354 _drawInfo->weight=weight_; in fontWeight()
360 return(_drawInfo->weight); in fontWeight()
558 flag_ ? _drawInfo->stroke_antialias=MagickTrue : in strokeAntiAlias()
559 _drawInfo->stroke_antialias=MagickFalse; in strokeAntiAlias()
564 return(_drawInfo->stroke_antialias != 0 ? true : false); in strokeAntiAlias()
569 _drawInfo->stroke=strokeColor_; in strokeColor()
577 return(_drawInfo->stroke); in strokeColor()
582 _drawInfo->dash_pattern=(double *) RelinquishMagickMemory( in strokeDashArray()
583 _drawInfo->dash_pattern); in strokeDashArray()
592 _drawInfo->dash_pattern=static_cast<double*>(AcquireMagickMemory((x+1)* in strokeDashArray()
594 if (!_drawInfo->dash_pattern) in strokeDashArray()
598 memcpy(_drawInfo->dash_pattern,strokeDashArray_,(x+1)*sizeof(double)); in strokeDashArray()
599 _drawInfo->dash_pattern[x]=0.0; in strokeDashArray()
605 return(_drawInfo->dash_pattern); in strokeDashArray()
610 _drawInfo->dash_offset=strokeDashOffset_; in strokeDashOffset()
615 return(_drawInfo->dash_offset); in strokeDashOffset()
620 _drawInfo->linecap=lineCap_; in strokeLineCap()
625 return(_drawInfo->linecap); in strokeLineCap()
630 _drawInfo->linejoin=lineJoin_; in strokeLineJoin()
635 return(_drawInfo->linejoin); in strokeLineJoin()
640 _drawInfo->miterlimit=miterLimit_; in strokeMiterLimit()
645 return(_drawInfo->miterlimit); in strokeMiterLimit()
650 if (_drawInfo->stroke_pattern) in strokePattern()
651 _drawInfo->stroke_pattern=DestroyImageList(_drawInfo->stroke_pattern); in strokePattern()
656 _drawInfo->stroke_pattern=CloneImage(const_cast<MagickCore::Image*>( in strokePattern()
664 return(_drawInfo->stroke_pattern); in strokePattern()
669 _drawInfo->stroke_width=strokeWidth_; in strokeWidth()
675 return(_drawInfo->stroke_width); in strokeWidth()
700 _drawInfo->text_antialias=static_cast<MagickBooleanType>( in textAntiAlias()
706 return(static_cast<bool>(_drawInfo->text_antialias)); in textAntiAlias()
711 _drawInfo->direction=direction_; in textDirection()
718 return(_drawInfo->direction); in textDirection()
723 CloneString(&_drawInfo->encoding,encoding_.c_str()); in textEncoding()
729 if (_drawInfo->encoding && *_drawInfo->encoding) in textEncoding()
730 return(std::string(_drawInfo->encoding)); in textEncoding()
737 _drawInfo->gravity=gravity_; in textGravity()
744 return(_drawInfo->gravity); in textGravity()
749 _drawInfo->interline_spacing=spacing_; in textInterlineSpacing()
755 return(_drawInfo->interline_spacing); in textInterlineSpacing()
760 _drawInfo->interword_spacing=spacing_; in textInterwordSpacing()
766 return(_drawInfo->interword_spacing); in textInterwordSpacing()
771 _drawInfo->kerning=kerning_; in textKerning()
777 return(_drawInfo->kerning); in textKerning()
782 _drawInfo->undercolor=undercolor_; in textUnderColor()
788 return(_drawInfo->undercolor); in textUnderColor()
795 current=_drawInfo->affine; in transformOrigin()
804 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformOrigin()
805 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformOrigin()
806 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformOrigin()
807 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformOrigin()
808 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformOrigin()
809 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformOrigin()
814 _drawInfo->affine.sx=1.0; in transformReset()
815 _drawInfo->affine.rx=0.0; in transformReset()
816 _drawInfo->affine.ry=0.0; in transformReset()
817 _drawInfo->affine.sy=1.0; in transformReset()
818 _drawInfo->affine.tx=0.0; in transformReset()
819 _drawInfo->affine.ty=0.0; in transformReset()
826 current=_drawInfo->affine; in transformRotation()
835 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformRotation()
836 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformRotation()
837 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformRotation()
838 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformRotation()
839 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformRotation()
840 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformRotation()
847 current=_drawInfo->affine; in transformScale()
856 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformScale()
857 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformScale()
858 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformScale()
859 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformScale()
860 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformScale()
861 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformScale()
868 current=_drawInfo->affine; in transformSkewX()
877 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformSkewX()
878 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformSkewX()
879 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformSkewX()
880 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformSkewX()
881 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformSkewX()
882 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformSkewX()
889 current=_drawInfo->affine; in transformSkewY()
898 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformSkewY()
899 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformSkewY()
900 _drawInfo->affine.ry=current.sx*affine.ry+current.ry*affine.sy; in transformSkewY()
901 _drawInfo->affine.sy=current.rx*affine.ry+current.sy*affine.sy; in transformSkewY()
902 _drawInfo->affine.tx=current.sx*affine.tx+current.ry*affine.ty+current.tx; in transformSkewY()
903 _drawInfo->affine.ty=current.rx*affine.tx+current.sy*affine.ty+current.ty; in transformSkewY()
945 return(_drawInfo); in drawInfo()
963 _drawInfo((MagickCore::DrawInfo* ) NULL), in Options()
968 _drawInfo=CloneDrawInfo(imageInfo_,drawInfo_); in Options()