scale

inline fun DrawScope.scale(scaleX: Float, scaleY: Float = scaleX, pivotX: Float = size.width / 2f, pivotY: Float = size.height / 2f, block: DrawScope.() -> Unit)

Scales the drawing space by scaleX and scaleY around pivot (pivotX, pivotY) for the duration of block.