Scales a given size based on the short dimension and the guideline base width.
size
static double scale(double size) { return shortDimension! / guidelineBaseWidth * size; }