Package: cairo

Function cairo-set-line-cap

Lambda List

cairo-set-line-cap (cr cap)

Arguments

cr -- a cairo-t context
cap -- a line cap style of type cairo-line-cap-t

Details

Sets the current line cap style within the Cairo context. See the cairo-line-cap-t enumeration for details about how the available line cap styles are drawn.

As with the other stroke parameters, the current line cap style is examined by the cairo-stroke and cairo-stroke-extents functions, but does not have any effect during path construction.

The default line cap style is :butt.
 

See also

2021-12-12