Blender V4.3
BPy_GuidingLinesShader.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (GuidingLinesShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`GuidingLinesShader`\n" "\n" "[Geometry shader]\n" "\n" ".. method:: __init__(offset)\n" "\n" " Builds a GuidingLinesShader object.\n" "\n" " :arg offset: The line that replaces the stroke is initially in the\n" " middle of the initial stroke bounding box. offset is the value\n" " of the displacement which is applied to this line along its\n" " normal.\n" " :type offset: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Shader to modify the Stroke geometry so that it corresponds to its\n" " main direction line. This shader must be used together with the\n" " splitting operator using the curvature criterion. Indeed, the\n" " precision of the approximation will depend on the size of the\n" " stroke's pieces. The bigger the pieces are, the rougher the\n" " approximation is.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
 
static int GuidingLinesShader___init__ (BPy_GuidingLinesShader *self, PyObject *args, PyObject *kwds)
 

Variables

PyTypeObject GuidingLinesShader_Type
 

Function Documentation

◆ GuidingLinesShader___init__()

static int GuidingLinesShader___init__ ( BPy_GuidingLinesShader * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 52 of file BPy_GuidingLinesShader.cpp.

References self.

◆ PyDoc_STRVAR()

PyDoc_STRVAR ( GuidingLinesShader___doc__ ,
"Class hierarchy: :class:`freestyle.types.StrokeShader` ,
:class:`GuidingLinesShader`\n" "\n" "\n" "\n" ".. method::__init__(offset)\n" "\n" " Builds a GuidingLinesShader object.\n" "\n" " :arg offset:The line that replaces the stroke is initially in the\n" " middle of the initial stroke bounding box. offset is the value\n" " of the displacement which is applied to this line along its\n" " normal.\n" " :type offset:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Shader to modify the Stroke geometry so that it corresponds to its\n" " main direction line. This shader must be used together with the\n" " splitting operator using the curvature criterion. Indeed[Geometry shader],
the\n" " precision of the approximation will depend on the size of the\n" " stroke 's pieces. The bigger the pieces are,
the rougher the\n" " approximation is.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n"  )

Variable Documentation

◆ GuidingLinesShader_Type

PyTypeObject GuidingLinesShader_Type

Definition at line 68 of file BPy_GuidingLinesShader.cpp.

Referenced by StrokeShader_Init().