Lines Matching defs:source
108 * @param rect the source rectangle
109 * @param angle the angle to rotate the source rectangle in radians
110 * @return the Quad representing the source rectangle rotated by the given angle.
121 * @param rect the source rectangle
123 * @return the Quad representing the source rectangle transformed by the matrix
130 * Returns the transformation matrix to transform the source Quad to the target Quad.
132 * @param source the source quad
134 * @return the transformation matrix to map source to target.
136 public static Matrix getTransform(Quad source, Quad target) {
139 transform.setPolyToPoly(source.asCoords(), 0, target.asCoords(), 0, 3);