scaleCentered

fun Size.scaleCentered(x: Float, y: Float): Rect

Scale a size based on percentage scale values, and keep track of its position.