get_rotation
Description:
Gets the direction of the tangent at a given point.
This is a convenience variant of [method@Gsk.PathPoint.get_tangent] that returns the angle between the tangent and the X axis. The angle can e.g. be used in [rotate](../gtk4/method.Snapshot.rotate.html).
Parameters:
this |
a `GskPathPoint` |
path |
the path that this is on |
direction |
the direction for which to return the rotation |
Returns:
the angle between the tangent and the X axis, in degrees |