MCPcopy Create free account
hub / github.com/PageBot/PageBot / moveTo

Method moveTo

Lib/pagebot/contexts/flatcontext/flatcontext.py:1169–1171  ·  view source on GitHub ↗
(self, p)

Source from the content-addressed store, hash-verified

1167 self.page.place(shape.path(self._bezierpath.commands))
1168
1169 def moveTo(self, p):
1170 p = self.translatePoint(p)
1171 super().moveTo(p)
1172
1173 def curveTo(self, bcp1, bcp2, p):
1174 bcp1 = self.translatePoint(bcp1)

Callers 3

getGlyphPathMethod · 0.45
ovalMethod · 0.45
polygonMethod · 0.45

Calls 1

translatePointMethod · 0.45

Tested by

no test coverage detected