Multiply new passed CTM with this one and generate a new result CTM. @param premult The CTM to multiply with this one. The new one will be the first multiplicand. @return CTM The result of multiplying premult this.
(CTM premult)
| 163 | * @return CTM The result of multiplying premult * this. |
| 164 | */ |
| 165 | public CTM multiply(CTM premult) { |
| 166 | return new CTM((premult.a * a) + (premult.b * c), |
| 167 | (premult.a * b) + (premult.b * d), |
| 168 | (premult.c * a) + (premult.d * c), |
| 169 | (premult.c * b) + (premult.d * d), |
| 170 | (premult.e * a) + (premult.f * c) + e, |
| 171 | (premult.e * b) + (premult.f * d) + f); |
| 172 | } |
| 173 | |
| 174 | /** |
| 175 | * Rotate this CTM by "angle" radians and return a new result CTM. |
no outgoing calls
no test coverage detected