21 ConstrainedIncreasingThicknessShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > "
23 ":class:`ConstrainedIncreasingThicknessShader`\n"
25 "[Thickness shader]\n"
27 ".. method:: __init__(thickness_min, thickness_max, ratio)\n"
29 " Builds a ConstrainedIncreasingThicknessShader object.\n"
31 " :param thickness_min: The minimum thickness.\n"
32 " :type thickness_min: float\n"
33 " :param thickness_max: The maximum thickness.\n"
34 " :type thickness_max: float\n"
35 " :param ratio: The thickness/length ratio that we don't want to exceed. \n"
36 " :type ratio: float\n"
38 ".. method:: shade(stroke)\n"
40 " Same as the :class:`IncreasingThicknessShader`, but here we allow\n"
41 " the user to control the thickness/length ratio so that we don't get\n"
44 " :param stroke: A Stroke object.\n"
45 " :type stroke: :class:`freestyle.types.Stroke`\n");
49 static const char *kwlist[] = {
"thickness_min",
"thickness_max",
"ratio",
nullptr};
52 if (!PyArg_ParseTupleAndKeywords(args,
72 PyVarObject_HEAD_INIT(
nullptr, 0)
73 "ConstrainedIncreasingThicknessShader",
91 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
92 ConstrainedIncreasingThicknessShader___doc__,
PyTypeObject ConstrainedIncreasingThicknessShader_Type
static int ConstrainedIncreasingThicknessShader___init__(BPy_ConstrainedIncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
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")
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.
PyObject_HEAD Freestyle::StrokeShader * ss