cdCanvasMM2Pixel

Definition: include pGUI.e

integer {dx,dy} = cdCanvasMM2Pixel(cdCanvas hCdCanvas, atom mm_dx, mm_dy)
Description: Converts sizes in millimeters into pixels (canvas coordinates).
Comments: Since the pGUI wrapper function can accept integers and floats in the parameters, there is no need for a separate cdfCanvasMM2Pixel wrapper. Internally it only uses the cdCanvasMM2Pixel C function, since there seems little point returning fractions of pixels.