def rect(pen, x, y, w, h):
    pen.moveTo( (x, y) )
    pen.lineTo( (x, y+h) )
    pen.lineTo( (x+w, y+h) )
    pen.lineTo( (x+w, y) )
    pen.closePath()
Saves the contents of the editor.
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/primitives.py/rect--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/python_editor.py/PythonEditor.save