21 BezierCurveShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BezierCurveShader`\n"
26 ".. method:: __init__(error=4.0)\n"
28 " Builds a BezierCurveShader object.\n"
30 " :arg error: The error we're allowing for the approximation. This\n"
31 " error is the max distance allowed between the new curve and the\n"
32 " original geometry.\n"
33 " :type error: float\n"
35 ".. method:: shade(stroke)\n"
37 " Transforms the stroke backbone geometry so that it corresponds to a\n"
38 " Bezier Curve approximation of the original backbone geometry.\n"
40 " :arg stroke: A Stroke object.\n"
41 " :type stroke: :class:`freestyle.types.Stroke`\n");
44 static const char *kwlist[] = {
"error",
nullptr};
47 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|f", (
char **)kwlist, &f)) {
57 PyVarObject_HEAD_INIT(
nullptr, 0)
76 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
77 BezierCurveShader___doc__,
PyDoc_STRVAR(BezierCurveShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BezierCurveShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(error=4.0)\n" "\n" " Builds a BezierCurveShader object.\n" "\n" " :arg error: The error we're allowing for the approximation. This\n" " error is the max distance allowed between the new curve and the\n" " original geometry.\n" " :type error: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Transforms the stroke backbone geometry so that it corresponds to a\n" " Bezier Curve approximation of the original backbone geometry.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
static int BezierCurveShader___init__(BPy_BezierCurveShader *self, PyObject *args, PyObject *kwds)
PyTypeObject BezierCurveShader_Type
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.