April 15, 2020
3:52 p.m.
Another possibility is to pass an array of points and point types to extend_current_figure, and let it take care of updating the path. extend_current_figure should be declared static.