Lines Matching refs:shear
743 shear = [0, 0, 0]
758 shear[0] = numpy.dot(row[0], row[1])
759 row[1] -= row[0] * shear[0]
762 shear[0] /= scale[1]
763 shear[1] = numpy.dot(row[0], row[2])
764 row[2] -= row[0] * shear[1]
765 shear[2] = numpy.dot(row[1], row[2])
766 row[2] -= row[1] * shear[2]
769 shear[1:] /= scale[2]
784 return scale, shear, angles, translate, perspective
787 def compose_matrix(scale=None, shear=None, angles=None, translate=None, argument
824 if shear is not None:
826 Z[1, 2] = shear[2]
827 Z[0, 2] = shear[1]
828 Z[0, 1] = shear[0]