This method enable you to convert coordinates in "Inf" space to coordinates in "Frm" space.
Syntax
Point_2D Inf_2_Frm(
SliceO_Window * window,
Point_2D pos_inf
) ;
Region_2D Inf_2_Frm(
SliceO_Window * window,
Region_2D reg_inf
) ;
Parameters
window
Pointer to the window used for the conversion.
pos_inf
2D point to convert from "Inf" space to "Frm" space.
reg_inf
2D region to convert from "Inf" space to "Frm" space.
Return value
This method return either a transformed 2D point or a 2D region depending on its arguments.
Remarks
The transformation is computed by:
·Subtracting the origin of the frame in "Inf" space to the coordinates.
·Scaling each coordinates by the current scaling factor for the desired window.
·Scaling the "y" coordinate by the pixel aspect ratio.
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
See also