Transforms the given coords forward to normalized space using the full transformation sequence defined by the block rotation, the predecessors, deepest first, and finally this. If first_norm is not NULL, then the first and deepest transformation used is first_norm, ending with this, and the block rotation will not be applied.
| 332 | // then the first and deepest transformation used is first_norm, ending |
| 333 | // with this, and the block rotation will not be applied. |
| 334 | void DENORM::NormTransform(const DENORM* first_norm, const TPOINT& pt, |
| 335 | TPOINT* transformed) const { |
| 336 | FCOORD src_pt(pt.x, pt.y); |
| 337 | FCOORD float_result; |
| 338 | NormTransform(first_norm, src_pt, &float_result); |
| 339 | transformed->x = IntCastRounded(float_result.x()); |
| 340 | transformed->y = IntCastRounded(float_result.y()); |
| 341 | } |
| 342 | void DENORM::NormTransform(const DENORM* first_norm, const FCOORD& pt, |
| 343 | FCOORD* transformed) const { |
| 344 | FCOORD src_pt(pt); |
no test coverage detected