Calculates the scale to apply based on the intrinsic widget size.
double transform(Size size, double value);