def markerObject(self, path, trans, fillp, lw):
key = (path, trans, fillp is not None, lw)<EOL>result = self.markers.get(key)<EOL>if result is None:<EOL><INDENT>name = Name('<STR_LIT>' % len(self.markers))<EOL>ob = self.reserveObject('<STR_LIT>' % len(self.markers))<EOL>self.markers[key] = (name, ob, path, trans, fillp, lw)<EOL><DEDENT>else:<EOL><INDENT>name = result[<NUM_LIT:0>]<EOL><DEDENT>return name<EOL>
Return name of a marker XObject representing the given path.