ccontext:SetLineCap(line_cap)
line_cap
parameter can be one of the following constants:
#CAIRO_LINE_CAP_BUTT#CAIRO_LINE_CAP_ROUND#CAIRO_LINE_CAP_SQUAREAs with the other stroke parameters, the current line cap style is examined by ccontext:Stroke() and ccontext:StrokeExtents(), but does not have any effect during path construction.
The default line cap style is #CAIRO_LINE_CAP_BUTT.