21 SamplingShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
26 ".. method:: __init__(sampling)\n"
28 " Builds a SamplingShader object.\n"
30 " :param 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 " :param stroke: A Stroke object.\n"
38 " :type stroke: :class:`freestyle.types.Stroke`\n");
41 static const char *kwlist[] = {
"sampling",
nullptr};
44 if (!PyArg_ParseTupleAndKeywords(args,
60 PyVarObject_HEAD_INIT(
nullptr, 0)
79 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
80 SamplingShader___doc__,
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :param inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :param inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
static int SamplingShader___init__(BPy_SamplingShader *self, PyObject *args, PyObject *kwds)
PyTypeObject SamplingShader_Type
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.
PyObject_HEAD Freestyle::StrokeShader * ss