Blender  V3.3
Functions | Variables
BPy_GuidingLinesShader.cpp File Reference
#include "BPy_GuidingLinesShader.h"
#include "../../stroke/BasicStrokeShaders.h"

Go to the source code of this file.

Functions

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

Variables

static char GuidingLinesShader___doc__ []
 
PyTypeObject GuidingLinesShader_Type
 

Function Documentation

◆ GuidingLinesShader___init__()

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

Definition at line 48 of file BPy_GuidingLinesShader.cpp.

Variable Documentation

◆ GuidingLinesShader___doc__

char GuidingLinesShader___doc__[]
static
Initial value:
=
"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"

Definition at line 21 of file BPy_GuidingLinesShader.cpp.

◆ GuidingLinesShader_Type

PyTypeObject GuidingLinesShader_Type

Definition at line 64 of file BPy_GuidingLinesShader.cpp.

Referenced by StrokeShader_Init().