Blender V4.3
BPy_ConstrainedIncreasingThicknessShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (ConstrainedIncreasingThicknessShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > " ":class:`ConstrainedIncreasingThicknessShader`\n" "\n" "[Thickness shader]\n" "\n" ".. method:: __init__(thickness_min, thickness_max, ratio)\n" "\n" " Builds a ConstrainedIncreasingThicknessShader object.\n" "\n" " :arg thickness_min: The minimum thickness.\n" " :type thickness_min: float\n" " :arg thickness_max: The maximum thickness.\n" " :type thickness_max: float\n" " :arg ratio: The thickness/length ratio that we don't want to exceed. \n" " :type ratio: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Same as the :class:`IncreasingThicknessShader`, but here we allow\n" " the user to control the thickness/length ratio so that we don't get\n" " fat short lines.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int ConstrainedIncreasingThicknessShader___init__ (BPy_ConstrainedIncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject ConstrainedIncreasingThicknessShader_Type
 

Function Documentation

◆ ConstrainedIncreasingThicknessShader___init__()

static int ConstrainedIncreasingThicknessShader___init__ ( BPy_ConstrainedIncreasingThicknessShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 51 of file BPy_ConstrainedIncreasingThicknessShader.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( ConstrainedIncreasingThicknessShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
" ":class:`ConstrainedIncreasingThicknessShader`\n" "\n" "\n" "\n" ".. method::__init__(thickness_min, thickness_max, ratio)\n" "\n" " Builds a ConstrainedIncreasingThicknessShader object.\n" "\n" " :arg thickness_min:The minimum thickness.\n" " :type thickness_min:float\n" " :arg thickness_max:The maximum thickness.\n" " :type thickness_max:float\n" " :arg ratio:The thickness/length ratio that we don 't want to exceed. \n" " :type ratio:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Same as the :class:`IncreasingThicknessShader` [Thickness shader],
but here we allow\n" " the user to control the thickness/length ratio so that we don 't get\n" " fat short lines.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n"  )

Variable Documentation

◆ ConstrainedIncreasingThicknessShader_Type

PyTypeObject ConstrainedIncreasingThicknessShader_Type

Definition at line 66 of file BPy_ConstrainedIncreasingThicknessShader.cpp.

Referenced by StrokeShader_Init().