PathPoint
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gsk_path_point_get_type ()" ) ]
[ Compact ]
[ Version ( since = "4.14" ) ]
public class PathPoint
[ Compact ]
[ Version ( since = "4.14" ) ]
public class PathPoint
`GskPathPoint` is an opaque type representing a point on a path.
It can be queried for properties of the path at that point, such as its tangent or its curvature.
To obtain a `GskPathPoint`, use [method@Gsk.Path.get_closest_point], [method@Gsk.Path.get_start_point], [method@Gsk.Path.get_end_point] or [ method@Gsk.PathMeasure.get_point].
Note that `GskPathPoint` structs are meant to be stack-allocated, and don't hold a reference to the path object they are obtained from. It is the callers responsibility to keep a reference to the path as long as the `GskPathPoint` is used.
Namespace: Gsk
Package: gtk4