def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None):
if debugPS: self._pswriter.write('<STR_LIT>')<EOL>write = self._pswriter.write<EOL>if rgbFace:<EOL><INDENT>if rgbFace[<NUM_LIT:0>]==rgbFace[<NUM_LIT:1>] and rgbFace[<NUM_LIT:0>]==rgbFace[<NUM_LIT:2>]:<EOL><INDENT>ps_color = '<STR_LIT>' % rgbFace[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>ps_color = '<STR_LIT>' % rgbFace<EOL><DEDENT><DEDENT>ps_cmd = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'] <EOL>ps_cmd.append(self._convert_path(marker_path, marker_trans))<EOL>if rgbFace:<EOL><INDENT>ps_cmd.extend(['<STR_LIT>', ps_color, '<STR_LIT>', '<STR_LIT>'])<EOL><DEDENT>ps_cmd.extend(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>tpath = trans.transform_path(path)<EOL>for vertices, code in tpath.iter_segments():<EOL><INDENT>if len(vertices):<EOL><INDENT>x, y = vertices[-<NUM_LIT:2>:]<EOL>ps_cmd.append("<STR_LIT>" % (x, y))<EOL><DEDENT><DEDENT>ps = '<STR_LIT:\n>'.join(ps_cmd)<EOL>self._draw_ps(ps, gc, rgbFace, fill=False, stroke=False)<EOL>
Draw the markers defined by path at each of the positions in x
and y.  path coordinates are points, x and y coords will be
transformed by the transform