Method

GskPathMeasureget_point

since: 4.14

Declaration [src]

gboolean
gsk_path_measure_get_point (
  GskPathMeasure* self,
  float distance,
  GskPathPoint* result
)

Description [src]

Gets the point at the given distance into the path.

An empty path has no points, so false is returned in that case.

Available since: 4.14

Parameters

distance

Type: float

The distance.

result

Type: GskPathPoint

Return location for the point.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

True if result was set.