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

Go to the source code of this file.

Functions

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

Variables

static char ConstrainedIncreasingThicknessShader___doc__ []
 
PyTypeObject ConstrainedIncreasingThicknessShader_Type
 

Function Documentation

◆ ConstrainedIncreasingThicknessShader___init__()

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

Definition at line 47 of file BPy_ConstrainedIncreasingThicknessShader.cpp.

Variable Documentation

◆ ConstrainedIncreasingThicknessShader___doc__

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

Definition at line 21 of file BPy_ConstrainedIncreasingThicknessShader.cpp.

◆ ConstrainedIncreasingThicknessShader_Type

PyTypeObject ConstrainedIncreasingThicknessShader_Type

Definition at line 62 of file BPy_ConstrainedIncreasingThicknessShader.cpp.

Referenced by StrokeShader_Init().