Learn R Programming

RGtk2 (version 2.20.31)

cairoSetLineCap: cairoSetLineCap

Description

Sets the current line cap style within the cairo context. See CairoLineCap for details about how the available line cap styles are drawn.

Usage

cairoSetLineCap(cr, line.cap)

Arguments

cr
[Cairo] a cairo context
line.cap
[CairoLineCap] a line cap style

Details

As with the other stroke parameters, the current line cap style is examined by cairoStroke, cairoStrokeExtents, and cairoStrokeToPath(), but does not have any effect during path construction. The default line cap style is CAIRO_LINE_CAP_BUTT.