Method
GskPathget_closest_point
since: 4.14
Declaration [src]
gboolean
gsk_path_get_closest_point (
  GskPath* self,
  const graphene_point_t* point,
  float threshold,
  GskPathPoint* result,
  float* distance
)
Description [src]
Computes the closest point on the path to the given point.
If there is no point closer than the given threshold, false is returned.
Available since: 4.14
Parameters
- point
- 
            Type: graphene_point_tThe point. The data is owned by the caller of the method. 
- threshold
- 
            Type: floatMaximum allowed distance. 
- result
- 
            Type: GskPathPointReturn location for the closest point. The argument will be set by the function. The returned data is owned by the instance. 
- distance
- 
            Type: float*Return location for the distance. The argument will be set by the function. The argument can be NULL.