Package: gsk

GFlags gsk:path-foreach-flags

Declaration

(gobject:define-gflags "GskPathForeachFlags" path-foreach-flags
  (:export t
   :type-initializer "gsk_path_foreach_flags_get_type")
  (:allow-only-lines 0)
  (:allow-quad #.(ash 1 0))
  (:allow-cubic #.(ash 1 1))
  (:allow-conic #.(ash 1 2)))  

Values

:allow-only-lines
The default behavior, only allow lines.
:allow-quad
Allow emission of :quad operations.
:allow-cubic
Allow emission of :cubic operations.
:allow-conic
Allow emission of :conic operations.

Details

Flags that can be passed to the gsk:path-foreach function to influence what kinds of operations the path is decomposed into. By default, the gsk:path-foreach function will only emit a path with all operations flattened to straight lines to allow for maximum compatibility. The only operations emitted will be :move, :line and :close.

Since 4.14
 

See also

2024-11-9