Blender V4.3
BPy_BezierCurveShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (BezierCurveShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BezierCurveShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(error=4.0)\n" "\n" " Builds a BezierCurveShader object.\n" "\n" " :arg error: The error we're allowing for the approximation. This\n" " error is the max distance allowed between the new curve and the\n" " original geometry.\n" " :type error: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Transforms the stroke backbone geometry so that it corresponds to a\n" " Bezier Curve approximation of the original backbone geometry.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int BezierCurveShader___init__ (BPy_BezierCurveShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject BezierCurveShader_Type
 

Function Documentation

◆ BezierCurveShader___init__()

static int BezierCurveShader___init__ ( BPy_BezierCurveShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 47 of file BPy_BezierCurveShader.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( BezierCurveShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`BezierCurveShader`\n" "\n" "\n" "\n" ".. method::__init__(error=4.0)\n" "\n" " Builds a BezierCurveShader object.\n" "\n" " :arg error:The error we 're allowing for the approximation. This\n" " error is the max distance allowed between the new curve and the\n" " original geometry.\n" " :type error:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Transforms the stroke backbone geometry so that it corresponds to a\n" " Bezier Curve approximation of the original backbone geometry.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" [Geometry shader] )

Variable Documentation

◆ BezierCurveShader_Type

PyTypeObject BezierCurveShader_Type

Definition at line 61 of file BPy_BezierCurveShader.cpp.

Referenced by StrokeShader_Init().