25 GuidingLinesShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`GuidingLinesShader`\n"
30 ".. method:: __init__(offset)\n"
32 " Builds a GuidingLinesShader object.\n"
34 " :arg offset: The line that replaces the stroke is initially in the\n"
35 " middle of the initial stroke bounding box. offset is the value\n"
36 " of the displacement which is applied to this line along its\n"
38 " :type offset: float\n"
40 ".. method:: shade(stroke)\n"
42 " Shader to modify the Stroke geometry so that it corresponds to its\n"
43 " main direction line. This shader must be used together with the\n"
44 " splitting operator using the curvature criterion. Indeed, the\n"
45 " precision of the approximation will depend on the size of the\n"
46 " stroke's pieces. The bigger the pieces are, the rougher the\n"
47 " approximation is.\n"
49 " :arg stroke: A Stroke object.\n"
50 " :type stroke: :class:`freestyle.types.Stroke`\n");
56 static const char *kwlist[] = {
"offset",
nullptr};
59 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"f", (
char **)kwlist, &f)) {
69 PyVarObject_HEAD_INIT(
nullptr, 0)
88 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
89 GuidingLinesShader___doc__,
PyTypeObject GuidingLinesShader_Type
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)
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.