#NEWLINE# def add_coord( self , x , y ) : #NEWLINE# #INDENT# if ( len ( self . coordsX ) == self . maxlen ) : #NEWLINE# #INDENT# spacepos = self . attributes [ 'points' ] . find ( ' ' ) #NEWLINE# if ( spacepos > 0 ) : #NEWLINE# #INDENT# self . attributes [ 'points' ] = self . attributes [ 'points' ] [ ( spacepos + 1 ) : ] #NEWLINE# #UNINDENT# #UNINDENT# self . coordsX . append ( x ) #NEWLINE# self . coordsY . append ( y ) #NEWLINE# self . attributes [ 'points' ] += ( '%s,%s ' % ( x , y ) )