Convert millimeter → pixel theo DPI
int mmToPx(double mm, {int dpi = _defaultPrinterDpi}) { return (mm * dpi / 25.4).round(); }