Package: gsk

GBoxed gsk:path-point

Declaration

(glib:define-gboxed-opaque path-point "GskPathPoint"
  :export t
  :type-initializer "gsk_path_point_get_type"
  :alloc (error "GSK:PATH-POINT cannot be created from the Lisp side"))  

Details

The gsk:path-point structure 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 gsk:path-point instance, use the gsk:path-closest-point, gsk:path-start-point, gsk:path-end-point or gsk:path-measure-point functions.

Note that gsk:path-point instances are meant to be stack-allocated, and do not 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 gsk:path-point instance is used.

Since 4.14
 

Returned by

See also

2024-11-7