25 BackboneStretcherShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BackboneStretcherShader`\n"
30 ".. method:: __init__(amount=2.0)\n"
32 " Builds a BackboneStretcherShader object.\n"
34 " :arg amount: The stretching amount value.\n"
35 " :type amount: float\n"
37 ".. method:: shade(stroke)\n"
39 " Stretches the stroke at its two extremities and following the\n"
40 " respective directions: v(1)v(0) and v(n-1)v(n).\n"
42 " :arg stroke: A Stroke object.\n"
43 " :type stroke: :class:`freestyle.types.Stroke`\n");
49 static const char *kwlist[] = {
"amount",
nullptr};
52 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"|f", (
char **)kwlist, &f)) {
62 PyVarObject_HEAD_INIT(
nullptr, 0)
63 "BackboneStretcherShader",
81 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
82 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.