Method
GskPathforeach
since: 4.14
Declaration [src]
gboolean
gsk_path_foreach (
GskPath* self,
GskPathForeachFlags flags,
GskPathForeachFunc func,
gpointer user_data
)
Description [src]
Calls func for every operation of the path.
Note that this may only approximate self, because paths can contain
optimizations for various specialized contours, and depending on the
flags, the path may be decomposed into simpler curves than the ones
that it contained originally.
This function serves two purposes:
- When the
flagsallow everything, it provides access to the raw, unmodified data of the path. - When the
flagsdisallow certain operations, it provides an approximation of the path using just the allowed operations.
Available since: 4.14
Parameters
flags-
Type:
GskPathForeachFlagsFlags to pass to the foreach function. See
GskPathForeachFlagsfor details about flags. func-
Type:
GskPathForeachFuncThe function to call for operations.
user_data-
Type:
gpointerUser data passed to
func.The argument can be NULL.The data is owned by the caller of the method.