computeScaleNew

fun computeScaleNew(bounds: RectangleInt, callback: (segment: NinePatchInfo.Segment, x: Int, y: Int, width: Int, height: Int) -> Unit)