adds base class for curve printers.