MCPcopy Create free account
hub / github.com/csaez/mscreen / drawCurve

Method drawCurve

mscreen.py:640–646  ·  view source on GitHub ↗

Convenience method creating and registering a `CurvePrim`.

(self, points, degree=None, color=None, width=2)

Source from the content-addressed store, hash-verified

638 self.primitives.remove(primitive)
639
640 def drawCurve(self, points, degree=None, color=None, width=2):
641 """
642 Convenience method creating and registering a `CurvePrim`.
643 """
644 curve = CurvePrim(points, degree, color, width)
645 self.registerPrimitive(curve)
646 return curve
647
648 def drawTransform(self, transform=None):
649 """

Callers 6

test_bezier.pyFile · 0.80
test_parent.pyFile · 0.80
test_deform.pyFile · 0.80
test_readme.pyFile · 0.80
test_lines.pyFile · 0.80

Calls 2

registerPrimitiveMethod · 0.95
CurvePrimClass · 0.85

Tested by

no test coverage detected