We had the following to generate new output of a gadget.
Gadget gd = Rect;
gd.Output();
But since we have New Output for All Curves, New Output for All Layers, etc., we should have more options of what to output.
So now user can use
gd.Output(2) //new output for all curves
0 -- normal
1 -- last
2 -- all curves
3 -- all layers
4 -- entire curve //this is Quick Peaks gadget only