Home
last modified time | relevance | path

Searched refs:DegreesToRadians (Results 1 – 19 of 19) sorted by relevance

/external/ImageMagick/Magick++/lib/
DOptions.cpp25 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro
828 affine.sx=cos(DegreesToRadians(fmod(angle_,360.0))); in transformRotation()
829 affine.rx=(-sin(DegreesToRadians(fmod(angle_,360.0)))); in transformRotation()
830 affine.ry=sin(DegreesToRadians(fmod(angle_,360.0))); in transformRotation()
831 affine.sy=cos(DegreesToRadians(fmod(angle_,360.0))); in transformRotation()
872 affine.ry=tan(DegreesToRadians(fmod(skewx_,360.0))); in transformSkewX()
892 affine.rx=tan(DegreesToRadians(fmod(skewy_,360.0))); in transformSkewY()
DImage.cpp29 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro
1909 affine.sx=cos(DegreesToRadians(fmod(degrees_,360.0))); in annotate()
1910 affine.rx=sin(DegreesToRadians(fmod(degrees_,360.0))); in annotate()
1911 affine.ry=(-sin(DegreesToRadians(fmod(degrees_,360.0)))); in annotate()
1912 affine.sy=cos(DegreesToRadians(fmod(degrees_,360.0))); in annotate()
/external/ImageMagick/MagickCore/
Dimage-private.h64 static inline double DegreesToRadians(const double degrees) in DegreesToRadians() function
Dshear.c640 affine_matrix.sx=cos(DegreesToRadians(fmod((double) degrees,360.0))); in DeskewImage()
641 affine_matrix.rx=sin(DegreesToRadians(fmod((double) degrees,360.0))); in DeskewImage()
642 affine_matrix.ry=(-sin(DegreesToRadians(fmod((double) degrees,360.0)))); in DeskewImage()
643 affine_matrix.sy=cos(DegreesToRadians(fmod((double) degrees,360.0))); in DeskewImage()
1606 shear.x=(-tan(DegreesToRadians(fmod(x_shear,360.0)))); in ShearImage()
1607 shear.y=tan(DegreesToRadians(fmod(y_shear,360.0))); in ShearImage()
1753 shear.x=(-tan((double) DegreesToRadians(angle)/2.0)); in ShearRotateImage()
1754 shear.y=sin((double) DegreesToRadians(angle)); in ShearRotateImage()
Ddraw.c1972 v.x=(double) (((x-gradient->center.x)*cos(DegreesToRadians( in GetStopColorOffset()
1973 gradient->angle)))+((y-gradient->center.y)*sin(DegreesToRadians( in GetStopColorOffset()
1975 v.y=(double) (((x-gradient->center.x)*sin(DegreesToRadians( in GetStopColorOffset()
1976 gradient->angle)))-((y-gradient->center.y)*cos(DegreesToRadians( in GetStopColorOffset()
3541 affine.sx=cos(DegreesToRadians(fmod((double) angle,360.0))); in RenderMVGContent()
3542 affine.rx=sin(DegreesToRadians(fmod((double) angle,360.0))); in RenderMVGContent()
3543 affine.ry=(-sin(DegreesToRadians(fmod((double) angle,360.0)))); in RenderMVGContent()
3544 affine.sy=cos(DegreesToRadians(fmod((double) angle,360.0))); in RenderMVGContent()
3578 affine.ry=sin(DegreesToRadians(angle)); in RenderMVGContent()
3587 affine.rx=(-tan(DegreesToRadians(angle)/2.0)); in RenderMVGContent()
[all …]
Dfeature.c1944 radius=(((double) x-center.x)*cos(DegreesToRadians((double) i)))+ in HoughLineImage()
1945 (((double) y-center.y)*sin(DegreesToRadians((double) i))); in HoughLineImage()
2056 (image->columns/2.0))*cos(DegreesToRadians((double) x))))/ in HoughLineImage()
2057 sin(DegreesToRadians((double) x))+(image->rows/2.0); in HoughLineImage()
2060 (image->columns/2.0))*cos(DegreesToRadians((double) x))))/ in HoughLineImage()
2061 sin(DegreesToRadians((double) x))+(image->rows/2.0); in HoughLineImage()
2070 (image->rows/2.0))*sin(DegreesToRadians((double) x))))/ in HoughLineImage()
2071 cos(DegreesToRadians((double) x))+(image->columns/2.0); in HoughLineImage()
2074 (image->rows/2.0))*sin(DegreesToRadians((double) x))))/ in HoughLineImage()
2075 cos(DegreesToRadians((double) x))+(image->columns/2.0); in HoughLineImage()
Ddistort.c817 a=DegreesToRadians(a); cosine=cos(a); sine=sin(a); in GenerateCoefficients()
1230 coeff[1] = DegreesToRadians(arguments[0]); in GenerateCoefficients()
1234 coeff[0] += DegreesToRadians(arguments[1]); in GenerateCoefficients()
1292 coeff[4] = DegreesToRadians(arguments[4]); in GenerateCoefficients()
1295 coeff[5] = DegreesToRadians(arguments[5]); in GenerateCoefficients()
1376 coeff[0] = DegreesToRadians(arguments[0]); in GenerateCoefficients()
2980 shear.x=(-tan((double) DegreesToRadians(angle)/2.0)); in RotateImage()
2981 shear.y=sin((double) DegreesToRadians(angle)); in RotateImage()
Deffect.c2401 point.x=(double) width*sin(DegreesToRadians(angle)); in MotionBlurImage()
2402 point.y=(double) width*cos(DegreesToRadians(angle)); in MotionBlurImage()
3199 n=(size_t) fabs(4.0*DegreesToRadians(angle)*sqrt((double) blur_radius)+2UL); in RotationalBlurImage()
3200 theta=DegreesToRadians(angle)/(double) (n-1); in RotationalBlurImage()
3807 light.x=(double) QuantumRange*cos(DegreesToRadians(azimuth))* in ShadeImage()
3808 cos(DegreesToRadians(elevation)); in ShadeImage()
3809 light.y=(double) QuantumRange*sin(DegreesToRadians(azimuth))* in ShadeImage()
3810 cos(DegreesToRadians(elevation)); in ShadeImage()
3811 light.z=(double) QuantumRange*sin(DegreesToRadians(elevation)); in ShadeImage()
Dpaint.c547 sine=sin((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage()
548 cosine=cos((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage()
Dcomposite.c845 angle=DegreesToRadians(geometry_info.xi); in CompositeImage()
858 angle_start=DegreesToRadians(geometry_info.xi); in CompositeImage()
859 angle_range=DegreesToRadians(geometry_info.psi)-angle_start; in CompositeImage()
Daccelerate.c4612 cossin_theta_size=(unsigned int) fabs(4.0*DegreesToRadians(angle)*sqrt( in ComputeRotationalBlurImage()
4625 theta=DegreesToRadians(angle)/(double) (cossin_theta_size-1); in ComputeRotationalBlurImage()
Dvisual-effects.c2848 degrees=(double) DegreesToRadians(degrees); in SwirlImage()
/external/ImageMagick/coders/
Dsvg.c2192 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2193 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2194 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in SVGStartElement()
2195 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2220 affine.ry=tan(DegreesToRadians(fmod( in SVGStartElement()
2229 affine.rx=tan(DegreesToRadians(fmod( in SVGStartElement()
2594 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2595 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
2596 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in SVGStartElement()
2597 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in SVGStartElement()
[all …]
Dmsl.c932 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement()
933 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement()
934 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in MSLStartElement()
935 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement()
957 affine.ry=tan(DegreesToRadians(fmod((double) angle, in MSLStartElement()
964 affine.rx=tan(DegreesToRadians(fmod((double) angle, in MSLStartElement()
2565 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement()
2566 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement()
2567 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in MSLStartElement()
2568 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement()
[all …]
/external/ImageMagick/PerlMagick/
DMagick.xs75 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro
8572 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
8573 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
8574 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in Mogrify()
8575 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
8583 affine.ry=tan(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
8591 affine.rx=tan(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
9104 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
9105 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); in Mogrify()
9106 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); in Mogrify()
[all …]
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in75 #define DegreesToRadians(x) (MagickPI*(x)/180.0) macro
8573 affine.sx=cos(DegreesToRadians(fmod(angle,360.0)));
8574 affine.rx=sin(DegreesToRadians(fmod(angle,360.0)));
8575 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0))));
8576 affine.sy=cos(DegreesToRadians(fmod(angle,360.0)));
8584 affine.ry=tan(DegreesToRadians(fmod(angle,360.0)));
8592 affine.rx=tan(DegreesToRadians(fmod(angle,360.0)));
9109 affine.sx=cos(DegreesToRadians(fmod(angle,360.0)));
9110 affine.rx=sin(DegreesToRadians(fmod(angle,360.0)));
9111 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0))));
[all …]
/external/ImageMagick/MagickWand/
Doperation.c1799 _draw_info->affine.sx=cos(DegreesToRadians( in CLISimpleOperatorImage()
1801 _draw_info->affine.rx=sin(DegreesToRadians( in CLISimpleOperatorImage()
1803 _draw_info->affine.ry=(-sin(DegreesToRadians( in CLISimpleOperatorImage()
1805 _draw_info->affine.sy=cos(DegreesToRadians( in CLISimpleOperatorImage()
Dmogrify.c880 draw_info->affine.sx=cos(DegreesToRadians( in MogrifyImage()
882 draw_info->affine.rx=sin(DegreesToRadians( in MogrifyImage()
884 draw_info->affine.ry=(-sin(DegreesToRadians( in MogrifyImage()
886 draw_info->affine.sy=cos(DegreesToRadians( in MogrifyImage()
Dmagick-image.c614 draw_info->affine.sx=cos((double) DegreesToRadians(fmod(angle,360.0))); in MagickAnnotateImage()
615 draw_info->affine.rx=sin((double) DegreesToRadians(fmod(angle,360.0))); in MagickAnnotateImage()
616 draw_info->affine.ry=(-sin((double) DegreesToRadians(fmod(angle,360.0)))); in MagickAnnotateImage()
617 draw_info->affine.sy=cos((double) DegreesToRadians(fmod(angle,360.0))); in MagickAnnotateImage()