Skip to content

Mojo app view transformpointfromview

mojo:mojo.app.View.TransformPointFromView

Method TransformPointFromView:std.geom.Vec2i( point:std.geom.Vec2i,view:View )#

Transforms a point from another view.

Transforms point in coordinates local to 'view' to coordinates local to this view.

Parameters
point point The point to transform.
view view View to transform point from.