Transforms the given coords all the way back to source image space using the full transformation sequence defined by this and its predecessors recursively, shallowest first, and finally any block re_rotation. If last_denorm is not NULL, then the last transformation used will be last_denorm, and the block re_rotation will never be executed.
| 387 | // If last_denorm is not NULL, then the last transformation used will |
| 388 | // be last_denorm, and the block re_rotation will never be executed. |
| 389 | void DENORM::DenormTransform(const DENORM* last_denorm, const TPOINT& pt, |
| 390 | TPOINT* original) const { |
| 391 | FCOORD src_pt(pt.x, pt.y); |
| 392 | FCOORD float_result; |
| 393 | DenormTransform(last_denorm, src_pt, &float_result); |
| 394 | original->x = IntCastRounded(float_result.x()); |
| 395 | original->y = IntCastRounded(float_result.y()); |
| 396 | } |
| 397 | void DENORM::DenormTransform(const DENORM* last_denorm, const FCOORD& pt, |
| 398 | FCOORD* original) const { |
| 399 | LocalDenormTransform(pt, original); |
no test coverage detected