GskPathForeachFlags

Flags that can be passed to gsk.path.Path.foreach_ to influence what kinds of operations the path is decomposed into.

By default, gsk.path.Path.foreach_ will only emit a path with all operations flattened to straight lines to allow for maximum compatibility. The only operations emitted will be gsk.types.PathOperation.Move, gsk.types.PathOperation.Line and gsk.types.PathOperation.Close.

Values

ValueMeaning
OnlyLines0

The default behavior, only allow lines.

Quad1

Allow emission of gsk.types.PathOperation.Quad operations

Cubic2

Allow emission of gsk.types.PathOperation.Cubic operations.

Conic4

Allow emission of gsk.types.PathOperation.Conic operations.