Scale this CTM by the passed x and y values and return a new result CTM. @param x The amount to scale along the x axis. @param y The amount to scale along the y axis. @return CTM The result of scaling this CTM.
(double x, double y)
| 217 | * @return CTM The result of scaling this CTM. |
| 218 | */ |
| 219 | public CTM scale(double x, double y) { |
| 220 | CTM scale = new CTM(x, 0, 0, y, 0, 0); |
| 221 | return multiply(scale); |
| 222 | } |
| 223 | |
| 224 | /** |
| 225 | * Transform a rectangle by the CTM to produce a rectangle in the transformed |
no test coverage detected