ufoProcessGetAspectRatioCorrection
double ufoProcessGetAspectRatioCorrection( ufoProcess process_instance);
ufoProcessGetAspectRatioCorrection returns the aspect ratio correction factor to be applied during rendering.
The value to be returned is the scale to be applied to the X pixel dimension in order to display it with the correct aspect. For example, if a PAL 720x576 image is to be displayed at 16:9, then the aspect ratio correction returned will be (576/720)*(16/9) = 1.42222.
Any effects involving transformations, such as rotation will need to take this aspect ratio into account in order to appear correctly when displayed in the final aspect ratio.
ufoProcessGetAspectRatioCorrection may be called within ufoProcessRenderPixel, ufoProcessRenderLine, ufoProcessRenderRectangle, ufoProcessCanAvoidRendering, ufoProcessPreRender, ufoProcessPostRender, ufoProcessPreRenderPass, ufoProcessPostRenderPass, ufoProcessCalcDefinedRectangle, ufoProcessCalcNeedRectangles, ufoProcessCalcDefinedPixelTypes, ufoProcessSpecifyConvertPixelTypes, and from within any editor user function or event function in the editor GUI.
Autodesk Softimage v7.5