Struct
GskPathPoint
since: 4.14
Description [src]
struct GskPathPoint {
/* No available fields */
}
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 gsk_path_get_closest_point()
,
gsk_path_get_start_point()
, gsk_path_get_end_point()
or gsk_path_measure_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.
Available since: 4.14
Instance methods
gsk_path_point_equal
Returns whether the two path points refer to the same location on all paths.
since: 4.14
gsk_path_point_get_distance
Returns the distance from the beginning of the path
to point
.
since: 4.14