Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: object
Performs measurements on paths such as determining the length of the path.
Many measuring operations require sampling the path length at intermediate
points. Therefore, a GskPathMeasure has a tolerance that determines what
precision is required for such approximations. A GskPathMeasure struct is a
reference counted struct and should be treated as opaque.
GskPathMeasure (path = null, tolerance = null)
Creates a measure object for the given @path with the default tolerance.
path is the path to measure.tolerance is the tolerance for measuring operations.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.get_length ()
Gets the length of the path being measured. The length is cached, so this function does not do any work.
the length of the path measured by @self.get_path ()
Returns the path that the measure was created for.
the path of @self.get_tolerance ()
Returns the tolerance that the measure was created with.
the tolerance of @self.ref ()
Increases the reference count of a
GskPathMeasureby one.
the passed in GskPathMeasure..unref ()
Decreases the reference count of a
GskPathMeasureby one. If the resulting reference count is zero, frees the object.
None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.