21 IncreasingThicknessShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n"
24 "[Thickness shader]\n"
26 ".. method:: __init__(thickness_A, thickness_B)\n"
28 " Builds an IncreasingThicknessShader object.\n"
30 " :param thickness_A: The first thickness value.\n"
31 " :type thickness_A: float\n"
32 " :param thickness_B: The second thickness value.\n"
33 " :type thickness_B: float\n"
35 ".. method:: shade(stroke)\n"
37 " Assigns thicknesses values such as the thickness increases from a\n"
38 " thickness value A to a thickness value B between the first vertex\n"
39 " to the midpoint vertex and then decreases from B to a A between\n"
40 " this midpoint vertex and the last vertex. The thickness is\n"
41 " linearly interpolated from A to B.\n"
43 " :param stroke: A Stroke object.\n"
44 " :type stroke: :class:`freestyle.types.Stroke`\n");
49 static const char *kwlist[] = {
"thickness_A",
"thickness_B",
nullptr};
52 if (!PyArg_ParseTupleAndKeywords(args,
70 PyVarObject_HEAD_INIT(
nullptr, 0)
71 "IncreasingThicknessShader",
89 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
90 IncreasingThicknessShader___doc__,
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :param inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :param inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject IncreasingThicknessShader_Type
static int IncreasingThicknessShader___init__(BPy_IncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.
PyObject_HEAD Freestyle::StrokeShader * ss