25 SamplingShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
30 ".. method:: __init__(sampling)\n"
32 " Builds a SamplingShader object.\n"
34 " :arg sampling: The sampling to use for the stroke resampling.\n"
35 " :type sampling: float\n"
37 ".. method:: shade(stroke)\n"
39 " Resamples the stroke.\n"
41 " :arg stroke: A Stroke object.\n"
42 " :type stroke: :class:`freestyle.types.Stroke`\n");
46 static const char *kwlist[] = {
"sampling",
nullptr};
49 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"f", (
char **)kwlist, &f)) {
59 PyVarObject_HEAD_INIT(
nullptr, 0)
78 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
79 SamplingShader___doc__,
PyDoc_STRVAR(SamplingShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(sampling)\n" "\n" " Builds a SamplingShader object.\n" "\n" " :arg sampling: The sampling to use for the stroke resampling.\n" " :type sampling: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Resamples the stroke.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
static int SamplingShader___init__(BPy_SamplingShader *self, PyObject *args, PyObject *kwds)
PyTypeObject SamplingShader_Type
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.