Package: gsk

GEnum gsk:path-direction

Declaration

(gobject:define-genum "GskPathDirection" path-direction
  (:export t
   :type-initializer "gsk_path_direction_get_type")
  :from-start
  :to-start
  :to-end
  :from-end)  

Values

:from-start
The tangent in path direction of the incoming side of the path.
:to-start
The tangent against path direction of the incoming side of the path.
:to-end
The tangent in path direction of the outgoing side of the path.
:from-end
The tangent against path direction of the outgoing side of the path.

Details

The values of the gsk:path-direction enumeration are used to pick one of the four tangents at a given point on the path. Note that the directions for :from-start/:to-end and :to-start/:from-end will coincide for smooth points. Only sharp turns will exhibit four different directions.

Figure: GtkPathDirection

Since 4.14
 

See also

2024-11-9