scale static method

double scale(
  1. double size
)

Scales a given size based on the short dimension and the guideline base width.

Implementation

static double scale(double size) {
  return shortDimension! / guidelineBaseWidth * size;
}