mapViewToImage

fun mapViewToImage(x: Float, y: Float, result: PointF): Boolean

Maps a point expressed in view coordinates into upright image pixels.

Return

true if the point could be mapped, false when there is no image or the display matrix cannot be inverted.

Parameters

x

horizontal view coordinate.

y

vertical view coordinate.

result

instance where the image coordinates are stored.