V Qc@s9dZddlTddlZdZdZedS(sDraw on top of an imagei(t*NcCstjd}t}td|}|j|j}}t|d|d|}|jdddtd||j |j dt |j dS( Nitfiletwidththeightitanchortimages ( tsystargvtTkt PhotoImageRRtCanvast create_imagetNWtpacktbindtblobtmainloop(tfilenametroottimgtwthtcanv((s4/usr/lib64/python2.7/Demo/tkinter/guido/imagedraw.pytmains   c CsX|j|j}}|j}d}|j||||||||dddddS(Nitfilltredtoutlinet(txtytwidgett create_oval(teventRRRtr((s4/usr/lib64/python2.7/Demo/tkinter/guido/imagedraw.pyRs (t__doc__tTkinterRRR(((s4/usr/lib64/python2.7/Demo/tkinter/guido/imagedraw.pyts