View Single Post
Old 04-09-2017, 07:26 AM   #2
Human being with feelings
Youlean's Avatar
Join Date: May 2015
Location: Serbia
Posts: 652

Simplest way to do this is using std::deque to construct buffer (use push back and pop front) and then use cairo_move_to, cairo_line_to and cairo_stroke or cairo_fill. Look at the documentation.
Youlean is offline   Reply With Quote