MCPcopy Create free account
hub / github.com/Image-Py/imagepy / set_pts

Method set_pts

imagepy/ui/widgets/cmappanel.py:128–130  ·  view source on GitHub ↗
(self, pts)

Source from the content-addressed store, hash-verified

126 self.update()
127
128 def set_pts(self, pts):
129 self.x1, self.x2 = x1, x2
130 self.update()
131
132 def draw(self):
133 ox, oy = self.offset

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected