Package: gsk
Function gsk:path-point-rotation
Lambda Listgsk:path-point-rotation (point path direction) Argumentspoint -- a gsk:path-point instance path -- a gsk:path instance with the path that point is on direction -- a gsk:path-direction value with the direction for which to return the rotation Return ValueThe float with the angle between the tangent and the X axis, in degrees. Details
Gets the direction of the tangent at a given point. This is a convenience variant of the gsk:path-point-tangent function
that returns the angle between the tangent and the X axis. The angle can, for example, be used in the gtk:snapshot-rotate function. Since 4.14 | See also |
#2024-11-9