class library: plotter gui: clip curve to bounds