------------------------------------------------------------------------
| 176 | |
| 177 | //------------------------------------------------------------------------ |
| 178 | void trans_affine::scaling(double* x, double* y) const |
| 179 | { |
| 180 | double x1 = 0.0; |
| 181 | double y1 = 0.0; |
| 182 | double x2 = 1.0; |
| 183 | double y2 = 1.0; |
| 184 | trans_affine t(*this); |
| 185 | t *= trans_affine_rotation(-rotation()); |
| 186 | t.transform(&x1, &y1); |
| 187 | t.transform(&x2, &y2); |
| 188 | *x = x2 - x1; |
| 189 | *y = y2 - y1; |
| 190 | } |
| 191 | |
| 192 | |
| 193 | } |
nothing calls this directly
no test coverage detected