cairo_line_cap_t

Specifies how to render the endpoints of the path when stroking. The default line cap style is CAIRO_LINE_CAP_BUTT. CAIRO_LINE_CAP_BUTT start(stop) the line exactly at the start(end) point CAIRO_LINE_CAP_ROUND use a round ending, the center of the circle is the end point CAIRO_LINE_CAP_SQUARE use squared ending, the center of the square is the end point

Values

ValueMeaning
BUTT
ROUND
SQUARE

Meta