# cdCanvasMM2Pixel

Definition: | include pGUI.e integer {dx,dy} = cdCanvasMM2Pixel(cdCanvas canvas, atom mm_dx, mm_dy)
Description: | Converts sizes in millimeters into pixels (canvas coordinates).
pwa/p2js: | Not supported.
Comments: | Since the pGUI wrapper function can accept integers and floats in the parameters, and return integers or floats, 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.