in SourceEditor::paintEvent(), additional points used to create the Bézier curve are dynamically added