float computePixelSize(ref Matrix3x2 curr) { float scaling = curr.getScaling().maxCoordinate(); return(device.dpiScaling.mulUnits / scaling); }