Lines Matching refs:shear
1568 shear; in ShearImage() local
1590 shear.x=(-tan(DegreesToRadians(fmod(x_shear,360.0)))); in ShearImage()
1591 shear.y=tan(DegreesToRadians(fmod(y_shear,360.0))); in ShearImage()
1592 if ((shear.x == 0.0) && (shear.y == 0.0)) in ShearImage()
1604 bounds.width=image->columns+(ssize_t) floor(fabs(shear.x)*image->rows+0.5); in ShearImage()
1605 bounds.x=(ssize_t) ceil((double) image->columns+((fabs(shear.x)*image->rows)- in ShearImage()
1607 bounds.y=(ssize_t) ceil((double) image->rows+((fabs(shear.y)*bounds.width)- in ShearImage()
1625 status=XShearImage(shear_image,shear.x,image->columns,image->rows,bounds.x, in ShearImage()
1632 status=YShearImage(shear_image,shear.y,bounds.width,image->rows,(ssize_t) in ShearImage()
1639 status=CropToFitImage(&shear_image,shear.x,shear.y,(MagickRealType) in ShearImage()
1703 shear; in ShearRotateImage() local
1736 shear.x=(-tan((double) DegreesToRadians(angle)/2.0)); in ShearRotateImage()
1737 shear.y=sin((double) DegreesToRadians(angle)); in ShearRotateImage()
1738 if ((shear.x == 0.0) && (shear.y == 0.0)) in ShearRotateImage()
1752 bounds.width=(size_t) floor(fabs((double) height*shear.x)+width+0.5); in ShearRotateImage()
1753 bounds.height=(size_t) floor(fabs((double) bounds.width*shear.y)+height+0.5); in ShearRotateImage()
1754 shear_width=(size_t) floor(fabs((double) bounds.height*shear.x)+ in ShearRotateImage()
1774 status=XShearImage(rotate_image,shear.x,width,height,bounds.x,(ssize_t) in ShearRotateImage()
1781 status=YShearImage(rotate_image,shear.y,bounds.width,height,(ssize_t) in ShearRotateImage()
1788 status=XShearImage(rotate_image,shear.x,bounds.width,bounds.height,(ssize_t) in ShearRotateImage()
1796 status=CropToFitImage(&rotate_image,shear.x,shear.y,(MagickRealType) width, in ShearRotateImage()