View Single Post
Old 04-09-2017, 08:54 PM   #3
CaptnWillie
Human being with feelings
 
Join Date: Dec 2016
Posts: 51
Default

Quote:
Originally Posted by Youlean View Post
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. https://www.cairographics.org/manual/cairo-Paths.html
Double ended queue is exactly what I was looking for - your plugin does a fantastic example of this Youlean, thanks for the help
CaptnWillie is offline   Reply With Quote