25 BezierCurveShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BezierCurveShader`\n"
30 ".. method:: __init__(error=4.0)\n"
32 " Builds a BezierCurveShader object.\n"
34 " :arg error: The error we're allowing for the approximation. This\n"
35 " error is the max distance allowed between the new curve and the\n"
36 " original geometry.\n"
37 " :type error: float\n"
39 ".. method:: shade(stroke)\n"
41 " Transforms the stroke backbone geometry so that it corresponds to a\n"
42 " Bezier Curve approximation of the original backbone geometry.\n"
44 " :arg stroke: A Stroke object.\n"
45 " :type stroke: :class:`freestyle.types.Stroke`\n");
49 static const char *kwlist[] = {
"error",
nullptr};
52 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|f", (
char **)kwlist, &f)) {
62 PyVarObject_HEAD_INIT(
nullptr, 0)
81 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
82 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.