9 #include "../../stroke/BasicStrokeShaders.h"
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 " :arg thickness_A: The first thickness value.\n"
31 " :type thickness_A: float\n"
32 " :arg 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 " :arg stroke: A Stroke object.\n"
44 " :type stroke: :class:`freestyle.types.Stroke`\n";
50 static const char *kwlist[] = {
"thickness_A",
"thickness_B",
nullptr};
53 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
63 PyVarObject_HEAD_INIT(
nullptr, 0)
"IncreasingThicknessShader",
81 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject IncreasingThicknessShader_Type
static int IncreasingThicknessShader___init__(BPy_IncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
static char IncreasingThicknessShader___doc__[]
PyTypeObject StrokeShader_Type