#NEWLINE# def stroke( self ) : #NEWLINE# #INDENT# if ( len ( self . pathStr ) == 0 ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# shapeStr = [ ] #NEWLINE# shapeStr . append ( '<v:shape style="position:absolute;' ) #NEWLINE# shapeStr . append ( 'width:10; height:10;' ) #NEWLINE# shapeStr . append ( '" coordsize="100,100' ) #NEWLINE# shapeStr . append ( '" filled="f' ) #NEWLINE# shapeStr . append ( '" stroked="t' ) #NEWLINE# shapeStr . append ( '" strokeweight="' ) #NEWLINE# shapeStr . append ( str ( self . context . lineWidth ) ) #NEWLINE# shapeStr . append ( 'px" path="' ) #NEWLINE# shapeStr . append ( self . pathStr . join ( ) ) #NEWLINE# shapeStr . append ( ' e">' ) #NEWLINE# self . appendStroke ( shapeStr ) #NEWLINE# shapeStr . append ( '<v:shape>' ) #NEWLINE# daStr = '' . join ( shapeStr ) #NEWLINE# self . insert ( self . context . globalCompositeOperation , daStr )