toPreview

fun toPreview(point: PointF): PointF?

Maps a composition point to preview-local coordinates without clipping.


fun toPreview(bounds: RectF): RectF?

Maps a composition rectangle to preview-local coordinates without clipping.