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

Method set_curpt

imagepy/core/draw/paint.py:21–22  ·  view source on GitHub ↗
(self, x,y)

Source from the content-addressed store, hash-verified

19 self.curpt = (0,0)
20
21 def set_curpt(self, x,y):
22 self.curpt = x,y
23
24 def draw_pixs(self, img, xs, ys, color=None):
25 mskx = (xs>=0) * (xs<img.shape[1])

Callers 3

draw_pathMethod · 0.95
mouse_downMethod · 0.80
mouse_downMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected