cdCanvasUpdateYAxis

Definition: include pGUI.e

atom newy = cdCanvasUpdateYAxis(cdCanvas hCdCanvas, atom y)
Description: Invert the given Y coordinate if the native Y axis orientation is different from the CD axis orientation.
The CD axis orientation is always bottom-top. It also returns the changed value.
Comments: Since the pGUI wrapper function can accept integers and floats in the y parameter, and return an atom or integer, there is no need for a separate cdfCanvasUpdateYAxis wrapper. Internally it only uses the cdfCanvasUpdateYAxis C function.