Flags

Details

class Gsk.PathForeachFlags(value)

Bases: GObject.GFlags

Flags that can be passed to Gsk.Path.foreach() to influence what kinds of operations the path is decomposed into.

By default, [method`Gsk`.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_PATH_MOVE, GSK_PATH_LINE and GSK_PATH_CLOSE.

New in version 4.14.

ONLY_LINES = 0

The default behavior, only allow lines.

QUAD = 1

Allow emission of GSK_PATH_QUAD operations

CUBIC = 2

Allow emission of GSK_PATH_CUBIC operations.

CONIC = 4

Allow emission of GSK_PATH_CONIC operations.