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

Go to the source code of this file.

Functions

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

Variables

static char BezierCurveShader___doc__ []
 
PyTypeObject BezierCurveShader_Type
 

Function Documentation

◆ BezierCurveShader___init__()

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

Definition at line 43 of file BPy_BezierCurveShader.cpp.

Variable Documentation

◆ BezierCurveShader___doc__

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

Definition at line 21 of file BPy_BezierCurveShader.cpp.

◆ BezierCurveShader_Type

PyTypeObject BezierCurveShader_Type

Definition at line 57 of file BPy_BezierCurveShader.cpp.

Referenced by StrokeShader_Init().