@param c The connection
@param drawable A drawable (Window or Pixmap) to draw on.
@param gc The graphics context to use.
\n
TODO: document which attributes of a gc are used
@param segments_len The number of xcb_segment_t structures in \a segments.
@param segments An array of xcb_segment_t structures.
@return A cookie
Draws multiple, unconnected lines. For each segment, a line is drawn between
(x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of
xcb_segment_t structures and does not perform joining at coincident
endpoints. For any given line, a pixel is not drawn more than once. If lines
intersect, the intersecting pixels are drawn multiple times.
@brief draw lines
@param c The connection @param drawable A drawable (Window or Pixmap) to draw on. @param gc The graphics context to use. \n TODO: document which attributes of a gc are used @param segments_len The number of xcb_segment_t structures in \a segments. @param segments An array of xcb_segment_t structures. @return A cookie
Draws multiple, unconnected lines. For each segment, a line is drawn between (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of xcb_segment_t structures and does not perform joining at coincident endpoints. For any given line, a pixel is not drawn more than once. If lines intersect, the intersecting pixels are drawn multiple times.
TODO: include the xcb_segment_t data structure
TODO: an example