9 #include "../../stroke/BasicStrokeShaders.h"
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
26 ".. method:: __init__(sampling)\n"
28 " Builds a SamplingShader object.\n"
30 " :arg sampling: The sampling to use for the stroke resampling.\n"
31 " :type sampling: float\n"
33 ".. method:: shade(stroke)\n"
35 " Resamples the stroke.\n"
37 " :arg stroke: A Stroke object.\n"
38 " :type stroke: :class:`freestyle.types.Stroke`\n";
42 static const char *kwlist[] = {
"sampling",
nullptr};
45 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"f", (
char **)kwlist, &f)) {
55 PyVarObject_HEAD_INIT(
nullptr, 0)
"SamplingShader",
73 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