function [dim_in_pix] = MoBi_prop2dim(misure_schermo, propX, propY) %transform proportions of the 2 screen axes in actual pixels dim_in_pix(1) = round(propX*misure_schermo(3), 0); dim_in_pix(2) = round(propY*misure_schermo(4), 0); end