PathForeachFlags

Added in version 4.14.

class PathForeachFlags

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

By default, 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.

Fields

class PathForeachFlags
CONIC

Allow emission of GSK_PATH_CONIC operations.

CUBIC

Allow emission of GSK_PATH_CUBIC operations.

ONLY_LINES

The default behavior, only allow lines.

QUAD

Allow emission of GSK_PATH_QUAD operations