23 #include "../../stroke/BasicStrokeShaders.h"
36 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n"
38 "[Thickness shader]\n"
40 ".. method:: __init__(thickness_A, thickness_B)\n"
42 " Builds an IncreasingThicknessShader object.\n"
44 " :arg thickness_A: The first thickness value.\n"
45 " :type thickness_A: float\n"
46 " :arg thickness_B: The second thickness value.\n"
47 " :type thickness_B: float\n"
49 ".. method:: shade(stroke)\n"
51 " Assigns thicknesses values such as the thickness increases from a\n"
52 " thickness value A to a thickness value B between the first vertex\n"
53 " to the midpoint vertex and then decreases from B to a A between\n"
54 " this midpoint vertex and the last vertex. The thickness is\n"
55 " linearly interpolated from A to B.\n"
57 " :arg stroke: A Stroke object.\n"
58 " :type stroke: :class:`freestyle.types.Stroke`\n";
64 static const char *kwlist[] = {
"thickness_A",
"thickness_B",
nullptr};
67 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
77 PyVarObject_HEAD_INIT(
nullptr, 0)
"IncreasingThicknessShader",
95 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