apply_relative_transform_to_point


Description:

[ Version ( since = "0.6" ) ]
public Vertex apply_relative_transform_to_point (Actor? ancestor, Vertex point)

Transforms point in coordinates relative to the actor into ancestor-relative coordinates using the relevant transform stack (i.e. scale, rotation, etc).

If ancestor is null the ancestor will be the Stage. In this case, the coordinates returned will be the coordinates on the stage before the projection is applied. This is different from the behaviour of apply_transform_to_point.

Parameters:

this

A Actor

ancestor

A Actor ancestor, or null to use the default Stage

point

A point as Vertex

vertex

The translated Vertex