cgaToCanvas
Returns the canvas position of the model-space point (cgaX, cgaY).
Model space is centered and Y-up; the canvas is top-left-origin and Y-down. The conversion places the model origin at the canvas center, flips Y, and multiplies by scale — scaling about the center, so the origin stays put. Coordinates narrow from Double to Offset's Float here, at the draw boundary. The mapping is canvas-size-relative: a position converted against one size does not transfer to another.
Return
The canvas position in physical px.
Parameters
cgaX
The model-space x coordinate.
cgaY
The model-space y coordinate.
size
The canvas size in physical px.
scale
Physical px per CGA unit; the default 1f reads model units as px directly.