21 BackboneStretcherShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BackboneStretcherShader`\n"
26 ".. method:: __init__(amount=2.0)\n"
28 " Builds a BackboneStretcherShader object.\n"
30 " :arg amount: The stretching amount value.\n"
31 " :type amount: float\n"
33 ".. method:: shade(stroke)\n"
35 " Stretches the stroke at its two extremities and following the\n"
36 " respective directions: v(1)v(0) and v(n-1)v(n).\n"
38 " :arg stroke: A Stroke object.\n"
39 " :type stroke: :class:`freestyle.types.Stroke`\n");
44 static const char *kwlist[] = {
"amount",
nullptr};
47 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|f", (
char **)kwlist, &f)) {
57 PyVarObject_HEAD_INIT(
nullptr, 0)
58 "BackboneStretcherShader",
76 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
77 BackboneStretcherShader___doc__,
PyTypeObject BackboneStretcherShader_Type
static int BackboneStretcherShader___init__(BPy_BackboneStretcherShader *self, PyObject *args, PyObject *kwds)
PyDoc_STRVAR(BackboneStretcherShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BackboneStretcherShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(amount=2.0)\n" "\n" " Builds a BackboneStretcherShader object.\n" "\n" " :arg amount: The stretching amount value.\n" " :type amount: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Stretches the stroke at its two extremities and following the\n" " respective directions: v(1)v(0) and v(n-1)v(n).\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.