|
Blender V4.5
|
#include "BPy_CalligraphicShader.h"#include "../../stroke/AdvancedStrokeShaders.h"#include "../BPy_Convert.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (CalligraphicShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`CalligraphicShader`\n" "\n" "[Thickness Shader]\n" "\n" ".. method:: __init__(thickness_min, thickness_max, orientation, clamp)\n" "\n" " Builds a CalligraphicShader object.\n" "\n" " :arg thickness_min: The minimum thickness in the direction\n" " perpendicular to the main direction.\n" " :type thickness_min: float\n" " :arg thickness_max: The maximum thickness in the main direction.\n" " :type thickness_max: float\n" " :arg orientation: The 2D vector giving the main direction.\n" " :type orientation: :class:`mathutils.Vector`\n" " :arg clamp: If true, the strokes are drawn in black when the stroke\n" " direction is between -90 and 90 degrees with respect to the main\n" " direction and drawn in white otherwise. If false, the strokes\n" " are always drawn in black.\n" " :type clamp: bool\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns thicknesses to the stroke vertices so that the stroke looks\n" " like made with a calligraphic tool, i.e. the stroke will be the\n" " thickest in a main direction, and the thinnest in the direction\n" " perpendicular to this one, and an interpolation in between.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n") | |
| static int | CalligraphicShader___init__ (BPy_CalligraphicShader *self, PyObject *args, PyObject *kwds) |
Variables | |
| PyTypeObject | CalligraphicShader_Type |
|
static |
Definition at line 54 of file BPy_CalligraphicShader.cpp.
References bool_from_PyBool(), Freestyle::CalligraphicShader::CalligraphicShader(), CalligraphicShader___init__(), convert_v2(), BPy_CalligraphicShader::py_ss, BPy_StrokeShader::ss, and v.
Referenced by CalligraphicShader___init__().
| PyDoc_STRVAR | ( | CalligraphicShader___doc__ | , |
| "Class hierarchy: :class:`freestyle.types.StrokeShader` | , | ||
| :class:`CalligraphicShader`\n" "\n" "\n" "\n" ".. method::__init__(thickness_min, thickness_max, orientation, clamp)\n" "\n" " Builds a CalligraphicShader object.\n" "\n" " :arg thickness_min:The minimum thickness in the direction\n" " perpendicular to the main direction.\n" " :type thickness_min:float\n" " :arg thickness_max:The maximum thickness in the main direction.\n" " :type thickness_max:float\n" " :arg orientation:The 2D vector giving the main direction.\n" " :type orientation::class:`mathutils.Vector`\n" " :arg clamp:If | true[Thickness Shader], | ||
| the strokes are drawn in black when the stroke\n" " direction is between -90 and 90 degrees with respect to the main\n" " direction and drawn in white otherwise. If | false, | ||
| the strokes\n" " are always drawn in black.\n" " :type clamp:bool\n" "\n" ".. method::shade(stroke)\n" "\n" " Assigns thicknesses to the stroke vertices so that the stroke looks\n" " like made with a calligraphic | tool, | ||
| i.e. the stroke will be the\n" " thickest in a main | direction, | ||
| and the thinnest in the direction\n" " perpendicular to this | one, | ||
| and an interpolation in between.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" | ) |
References PyDoc_STRVAR().
| PyTypeObject CalligraphicShader_Type |
Definition at line 76 of file BPy_CalligraphicShader.cpp.
Referenced by StrokeShader_Init().