23 #include "../../stroke/BasicStrokeShaders.h"
36 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ThicknessNoiseShader`\n"
38 "[Thickness shader]\n"
40 ".. method:: __init__(amplitude, period)\n"
42 " Builds a ThicknessNoiseShader object.\n"
44 " :arg amplitude: The amplitude of the noise signal.\n"
45 " :type amplitude: float\n"
46 " :arg period: The period of the noise signal.\n"
47 " :type period: float\n"
49 ".. method:: shade(stroke)\n"
51 " Adds some noise to the stroke thickness.\n"
53 " :arg stroke: A Stroke object.\n"
54 " :type stroke: :class:`freestyle.types.Stroke`\n";
60 static const char *kwlist[] = {
"amplitude",
"period",
nullptr};
63 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
73 PyVarObject_HEAD_INIT(
nullptr, 0)
"ThicknessNoiseShader",
91 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject StrokeShader_Type
static int ThicknessNoiseShader___init__(BPy_ThicknessNoiseShader *self, PyObject *args, PyObject *kwds)
static char ThicknessNoiseShader___doc__[]
PyTypeObject ThicknessNoiseShader_Type