MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / append

Method append

src/__init__.py:11577–11589  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

11575 return self.paths.__len__()
11576
11577 def append(self, path):
11578 self.paths.append(path)
11579 self.path_count += 1
11580 if path.type == "clip":
11581 self.clip_count += 1
11582 elif path.type == "group":
11583 self.group_count += 1
11584 elif path.type == "f":
11585 self.fill_count += 1
11586 elif path.type == "s":
11587 self.stroke_count += 1
11588 elif path.type == "fs":
11589 self.fillstroke_count += 1
11590
11591 def clip_parents(self, i):
11592 """Return list of parent clip paths.

Callers 1

get_lineartMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected