23 #include "../../stroke/BasicStrokeShaders.h"
36 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
40 ".. method:: __init__(sampling)\n"
42 " Builds a SamplingShader object.\n"
44 " :arg sampling: The sampling to use for the stroke resampling.\n"
45 " :type sampling: float\n"
47 ".. method:: shade(stroke)\n"
49 " Resamples the stroke.\n"
51 " :arg stroke: A Stroke object.\n"
52 " :type stroke: :class:`freestyle.types.Stroke`\n";
56 static const char *kwlist[] = {
"sampling",
nullptr};
59 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"f", (
char **)kwlist, &f)) {
69 PyVarObject_HEAD_INIT(
nullptr, 0)
"SamplingShader",
87 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
static int SamplingShader___init__(BPy_SamplingShader *self, PyObject *args, PyObject *kwds)
PyTypeObject SamplingShader_Type
static char SamplingShader___doc__[]
PyTypeObject StrokeShader_Type