pe_htmethod_inverse |
Retrieves the inverse function to transform between coordinate systems.
PE_HTMETHFUNC pe_htmethod_inverse (PE_HTMETHOD htmethod);
htmethod | The htmethod object |
Returns the inverse function to transform between coordinate systems in the inverse, or reverse, direction. Transformations are defined in a particular direction. It's often possible to reverse or inverse the transformation.
On success, the htmethod inverse transformation. On failure, a null pointer.
PE_HTMETHOD affine = pe_htmethod_new("Affine", &affine_f, &affine_i);
PE_HTMETHFUNC inv = pe_htmethod_inverse(affine);