------------------------------------------------------------------------
| 750 | |
| 751 | //------------------------------------------------------------------------ |
| 752 | void trans_perspective::scaling(double* x, double* y) const |
| 753 | { |
| 754 | double x1 = 0.0; |
| 755 | double y1 = 0.0; |
| 756 | double x2 = 1.0; |
| 757 | double y2 = 1.0; |
| 758 | trans_perspective t(*this); |
| 759 | t *= trans_affine_rotation(-rotation()); |
| 760 | t.transform(&x1, &y1); |
| 761 | t.transform(&x2, &y2); |
| 762 | *x = x2 - x1; |
| 763 | *y = y2 - y1; |
| 764 | } |
| 765 | |
| 766 | //------------------------------------------------------------------------ |
| 767 | void trans_perspective::scaling_abs(double* x, double* y) const |
nothing calls this directly
no test coverage detected