32 "DISTANCE_FROM_CAMERA",
34 "Distance from Camera",
37 "DISTANCE_FROM_OBJECT",
39 "Distance from Object",
44 {0,
nullptr, 0,
nullptr,
nullptr},
52 "DISTANCE_FROM_CAMERA",
54 "Distance from Camera",
57 "DISTANCE_FROM_OBJECT",
59 "Distance from Object",
64 {0,
nullptr, 0,
nullptr,
nullptr},
73 "DISTANCE_FROM_CAMERA",
75 "Distance from Camera",
78 "DISTANCE_FROM_OBJECT",
80 "Distance from Object",
85 {0,
nullptr, 0,
nullptr,
nullptr},
105 "SINUS_DISPLACEMENT",
107 "Sinus Displacement",
111 {0,
nullptr, 0,
nullptr,
nullptr},
116# include <fmt/format.h>
135 return &RNA_LineStyleColorModifier_AlongStroke;
137 return &RNA_LineStyleColorModifier_DistanceFromCamera;
139 return &RNA_LineStyleColorModifier_DistanceFromObject;
141 return &RNA_LineStyleColorModifier_Material;
143 return &RNA_LineStyleColorModifier_Tangent;
145 return &RNA_LineStyleColorModifier_Noise;
147 return &RNA_LineStyleColorModifier_CreaseAngle;
149 return &RNA_LineStyleColorModifier_Curvature_3D;
151 return &RNA_LineStyleColorModifier;
161 return &RNA_LineStyleAlphaModifier_AlongStroke;
163 return &RNA_LineStyleAlphaModifier_DistanceFromCamera;
165 return &RNA_LineStyleAlphaModifier_DistanceFromObject;
167 return &RNA_LineStyleAlphaModifier_Material;
169 return &RNA_LineStyleAlphaModifier_Tangent;
171 return &RNA_LineStyleAlphaModifier_Noise;
173 return &RNA_LineStyleAlphaModifier_CreaseAngle;
175 return &RNA_LineStyleAlphaModifier_Curvature_3D;
177 return &RNA_LineStyleAlphaModifier;
187 return &RNA_LineStyleThicknessModifier_AlongStroke;
189 return &RNA_LineStyleThicknessModifier_DistanceFromCamera;
191 return &RNA_LineStyleThicknessModifier_DistanceFromObject;
193 return &RNA_LineStyleThicknessModifier_Material;
195 return &RNA_LineStyleThicknessModifier_Calligraphy;
197 return &RNA_LineStyleThicknessModifier_Tangent;
199 return &RNA_LineStyleThicknessModifier_Noise;
201 return &RNA_LineStyleThicknessModifier_CreaseAngle;
203 return &RNA_LineStyleThicknessModifier_Curvature_3D;
205 return &RNA_LineStyleThicknessModifier;
215 return &RNA_LineStyleGeometryModifier_Sampling;
217 return &RNA_LineStyleGeometryModifier_BezierCurve;
219 return &RNA_LineStyleGeometryModifier_SinusDisplacement;
221 return &RNA_LineStyleGeometryModifier_SpatialNoise;
223 return &RNA_LineStyleGeometryModifier_PerlinNoise1D;
225 return &RNA_LineStyleGeometryModifier_PerlinNoise2D;
227 return &RNA_LineStyleGeometryModifier_BackboneStretcher;
229 return &RNA_LineStyleGeometryModifier_TipRemover;
231 return &RNA_LineStyleGeometryModifier_Polygonalization;
233 return &RNA_LineStyleGeometryModifier_GuidingLines;
235 return &RNA_LineStyleGeometryModifier_Blueprint;
237 return &RNA_LineStyleGeometryModifier_2DOffset;
239 return &RNA_LineStyleGeometryModifier_2DTransform;
241 return &RNA_LineStyleGeometryModifier_Simplification;
243 return &RNA_LineStyleGeometryModifier;
247static std::optional<std::string> rna_LineStyle_color_modifier_path(
const PointerRNA *
ptr)
250 char name_esc[
sizeof(m->name) * 2];
252 return fmt::format(
"color_modifiers[\"{}\"]", name_esc);
255static std::optional<std::string> rna_LineStyle_alpha_modifier_path(
const PointerRNA *
ptr)
258 char name_esc[
sizeof(m->name) * 2];
260 return fmt::format(
"alpha_modifiers[\"{}\"]", name_esc);
263static std::optional<std::string> rna_LineStyle_thickness_modifier_path(
const PointerRNA *
ptr)
266 char name_esc[
sizeof(m->name) * 2];
268 return fmt::format(
"thickness_modifiers[\"{}\"]", name_esc);
271static std::optional<std::string> rna_LineStyle_geometry_modifier_path(
const PointerRNA *
ptr)
274 char name_esc[
sizeof(m->name) * 2];
276 return fmt::format(
"geometry_modifiers[\"{}\"]", name_esc);
279static void rna_LineStyleColorModifier_name_set(
PointerRNA *
ptr,
const char *value)
293static void rna_LineStyleAlphaModifier_name_set(
PointerRNA *
ptr,
const char *value)
307static void rna_LineStyleThicknessModifier_name_set(
PointerRNA *
ptr,
const char *value)
321static void rna_LineStyleGeometryModifier_name_set(
PointerRNA *
ptr,
const char *value)
339 iter,
ptr, (
void *)linestyle->mtex,
sizeof(
MTex *),
MAX_MTEX, 0,
nullptr);
372 if (linestyle->use_nodes && linestyle->nodetree ==
nullptr) {
475 reports,
RPT_ERROR,
"Thickness modifier '%s' could not be removed", modifier->
name);
528 {
TEXCO_WINDOW,
"WINDOW", 0,
"Window",
"Use screen coordinates as texture coordinates"},
529 {
TEXCO_GLOB,
"GLOBAL", 0,
"Global",
"Use global coordinates for the texture coordinates"},
534 "Use stroke length for texture coordinates"},
539 "Use the original undeformed coordinates of the object"},
540 {0,
nullptr, 0,
nullptr,
nullptr},
544 {
MTEX_FLAT,
"FLAT", 0,
"Flat",
"Map X and Y coordinates directly"},
545 {
MTEX_CUBE,
"CUBE", 0,
"Cube",
"Map using the normal vector"},
546 {
MTEX_TUBE,
"TUBE", 0,
"Tube",
"Map with Z as central axis"},
547 {
MTEX_SPHERE,
"SPHERE", 0,
"Sphere",
"Map with Z as central axis"},
548 {0,
nullptr, 0,
nullptr,
nullptr},
552 {0,
"NONE", 0,
"None",
""},
553 {1,
"X", 0,
"X",
""},
554 {2,
"Y", 0,
"Y",
""},
555 {3,
"Z", 0,
"Z",
""},
556 {0,
nullptr, 0,
nullptr,
nullptr},
560 {0,
"NONE", 0,
"None",
""},
561 {1,
"X", 0,
"X",
""},
562 {2,
"Y", 0,
"Y",
""},
563 {3,
"Z", 0,
"Z",
""},
564 {0,
nullptr, 0,
nullptr,
nullptr},
568 {0,
"NONE", 0,
"None",
""},
569 {1,
"X", 0,
"X",
""},
570 {2,
"Y", 0,
"Y",
""},
571 {3,
"Z", 0,
"Z",
""},
572 {0,
nullptr, 0,
nullptr,
nullptr},
575 srna =
RNA_def_struct(brna,
"LineStyleTextureSlot",
"TextureSlot");
578 srna,
"LineStyle Texture Slot",
"Texture slot for textures in a LineStyle data-block");
620 "Texture Coordinates",
621 "Texture coordinates used to map the texture onto the background");
654 {0,
nullptr, 0,
nullptr,
nullptr},
668 prop,
"Blend",
"Specify how the modifier value is blended into the base value");
675 prop,
"Influence",
"Influence factor by which the modifier changes the property");
725 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
731 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
741 {0,
"LINEAR", 0,
"Linear",
"Use linear mapping"},
743 {0,
nullptr, 0,
nullptr,
nullptr},
767 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
773 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
810 {0,
nullptr, 0,
nullptr,
nullptr},
830 "Draw a blueprint using circular contour strokes"},
835 "Draw a blueprint using elliptic contour strokes"},
840 "Draw a blueprint using square contour strokes"},
841 {0,
nullptr, 0,
nullptr,
nullptr},
850 {0,
nullptr, 0,
nullptr,
nullptr},
858 srna =
RNA_def_struct(brna,
"LineStyleColorModifier",
"LineStyleModifier");
863 srna,
"Line Style Color Modifier",
"Base type to define line color modifiers");
872 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_AlongStroke",
"LineStyleColorModifier");
878 brna,
"LineStyleColorModifier_DistanceFromCamera",
"LineStyleColorModifier");
880 srna,
"Distance from Camera",
"Change line color based on the distance from the camera");
885 brna,
"LineStyleColorModifier_DistanceFromObject",
"LineStyleColorModifier");
887 srna,
"Distance from Object",
"Change line color based on the distance from an object");
898 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Material",
"LineStyleColorModifier");
909 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Tangent",
"LineStyleColorModifier");
914 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Noise",
"LineStyleColorModifier");
935 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_CreaseAngle",
"LineStyleColorModifier");
937 srna,
"Crease Angle",
"Change line color based on the underlying crease angle");
951 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Curvature_3D",
"LineStyleColorModifier");
953 srna,
"Curvature 3D",
"Change line color based on the radial curvature of 3D mesh surfaces");
969 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier",
"LineStyleModifier");
974 srna,
"Line Style Alpha Modifier",
"Base type to define alpha transparency modifiers");
983 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_AlongStroke",
"LineStyleAlphaModifier");
989 brna,
"LineStyleAlphaModifier_DistanceFromCamera",
"LineStyleAlphaModifier");
991 "Distance from Camera",
992 "Change alpha transparency based on the distance from the camera");
997 brna,
"LineStyleAlphaModifier_DistanceFromObject",
"LineStyleAlphaModifier");
999 "Distance from Object",
1000 "Change alpha transparency based on the distance from an object");
1011 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Material",
"LineStyleAlphaModifier");
1013 srna,
"Material",
"Change alpha transparency based on a material attribute");
1018 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Tangent",
"LineStyleAlphaModifier");
1020 srna,
"Tangent",
"Alpha transparency based on the direction of the stroke");
1024 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Noise",
"LineStyleAlphaModifier");
1045 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_CreaseAngle",
"LineStyleAlphaModifier");
1047 srna,
"Crease Angle",
"Alpha transparency based on the angle between two adjacent faces");
1061 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Curvature_3D",
"LineStyleAlphaModifier");
1064 "Alpha transparency based on the radial curvature of 3D mesh surfaces");
1081 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier",
"LineStyleModifier");
1086 srna,
"Line Style Thickness Modifier",
"Base type to define line thickness modifiers");
1095 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Tangent",
"LineStyleThicknessModifier");
1113 brna,
"LineStyleThicknessModifier_AlongStroke",
"LineStyleThicknessModifier");
1119 brna,
"LineStyleThicknessModifier_DistanceFromCamera",
"LineStyleThicknessModifier");
1121 srna,
"Distance from Camera",
"Change line thickness based on the distance from the camera");
1126 brna,
"LineStyleThicknessModifier_DistanceFromObject",
"LineStyleThicknessModifier");
1128 srna,
"Distance from Object",
"Change line thickness based on the distance from an object");
1139 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Material",
"LineStyleThicknessModifier");
1146 brna,
"LineStyleThicknessModifier_Calligraphy",
"LineStyleThicknessModifier");
1150 "Change line thickness so that stroke looks like made with a calligraphic pen");
1164 "Minimum thickness in the direction perpendicular to the main direction");
1173 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Noise",
"LineStyleThicknessModifier");
1199 brna,
"LineStyleThicknessModifier_Curvature_3D",
"LineStyleThicknessModifier");
1201 srna,
"Curvature 3D",
"Line thickness based on the radial curvature of 3D mesh surfaces");
1230 brna,
"LineStyleThicknessModifier_CreaseAngle",
"LineStyleThicknessModifier");
1232 srna,
"Crease Angle",
"Line thickness based on the angle between two adjacent faces");
1260 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier",
"LineStyleModifier");
1265 srna,
"Line Style Geometry Modifier",
"Base type to define stroke geometry modifiers");
1274 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Sampling",
"LineStyleGeometryModifier");
1278 "Specify a new sampling value that determines the resolution of stroke polylines");
1285 prop,
"Sampling",
"New sampling value to be used for subsequent modifiers");
1289 brna,
"LineStyleGeometryModifier_BezierCurve",
"LineStyleGeometryModifier");
1292 "Replace stroke backbone geometry by a Bézier curve approximation of the "
1293 "original backbone geometry");
1300 "Maximum distance allowed between the new Bézier curve and the "
1301 "original backbone geometry");
1306 brna,
"LineStyleGeometryModifier_SinusDisplacement",
"LineStyleGeometryModifier");
1308 srna,
"Sinus Displacement",
"Add sinus displacement to stroke backbone geometry");
1328 brna,
"LineStyleGeometryModifier_SpatialNoise",
"LineStyleGeometryModifier");
1345 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the spatial noise)");
1357 prop,
"Pure Random",
"If true, the spatial noise does not show any coherence");
1361 brna,
"LineStyleGeometryModifier_PerlinNoise1D",
"LineStyleGeometryModifier");
1363 srna,
"Perlin Noise 1D",
"Add one-dimensional Perlin noise to stroke backbone geometry");
1379 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the Perlin noise)");
1392 "Seed for random number generation (if negative, time is used as a seed instead)");
1396 brna,
"LineStyleGeometryModifier_PerlinNoise2D",
"LineStyleGeometryModifier");
1398 srna,
"Perlin Noise 2D",
"Add two-dimensional Perlin noise to stroke backbone geometry");
1414 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the Perlin noise)");
1427 "Seed for random number generation (if negative, time is used as a seed instead)");
1431 brna,
"LineStyleGeometryModifier_BackboneStretcher",
"LineStyleGeometryModifier");
1433 srna,
"Backbone Stretcher",
"Stretch the beginning and the end of stroke backbone");
1441 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_TipRemover",
"LineStyleGeometryModifier");
1445 "Remove a piece of stroke at the beginning and the end of stroke backbone");
1454 brna,
"LineStyleGeometryModifier_Polygonalization",
"LineStyleGeometryModifier");
1456 srna,
"Polygonalization",
"Modify the stroke geometry so that it looks more 'polygonal'");
1464 "Maximum distance between the original stroke and its polygonal approximation");
1469 brna,
"LineStyleGeometryModifier_GuidingLines",
"LineStyleGeometryModifier");
1473 "Modify the stroke geometry so that it corresponds to its main direction line");
1479 prop,
"Offset",
"Displacement that is applied to the main direction line along its normal");
1482 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Blueprint",
"LineStyleGeometryModifier");
1486 "Produce a blueprint using circular, elliptic, and square contour strokes");
1521 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_2DOffset",
"LineStyleGeometryModifier");
1523 srna,
"2D Offset",
"Add two-dimensional offsets to stroke backbone geometry");
1529 prop,
"Start",
"Displacement that is applied from the beginning of the stroke");
1540 prop,
"X",
"Displacement that is applied to the X coordinates of stroke vertices");
1546 prop,
"Y",
"Displacement that is applied to the Y coordinates of stroke vertices");
1550 brna,
"LineStyleGeometryModifier_2DTransform",
"LineStyleGeometryModifier");
1553 "Apply two-dimensional scaling and rotation to stroke backbone geometry");
1583 "Stroke Point Parameter",
1584 "Pivot in terms of the stroke point parameter u (0 <= u <= 1)");
1598 brna,
"LineStyleGeometryModifier_Simplification",
"LineStyleGeometryModifier");
1623 func,
"name",
"ColorModifier", 0,
"",
"New name for the color modifier (not unique)");
1630 "Color modifier type to add");
1633 func,
"modifier",
"LineStyleColorModifier",
"",
"Newly added color modifier");
1636 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_color_modifier_remove");
1640 func,
"modifier",
"LineStyleColorModifier",
"",
"Color modifier to remove");
1660 func,
"name",
"AlphaModifier", 0,
"",
"New name for the alpha modifier (not unique)");
1667 "Alpha modifier type to add");
1670 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Newly added alpha modifier");
1673 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_alpha_modifier_remove");
1677 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Alpha modifier to remove");
1689 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifiers",
nullptr);
1692 srna,
"Thickness Modifiers",
"Thickness modifiers for changing line thickness");
1694 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_thickness_modifier_add");
1699 "ThicknessModifier",
1702 "New name for the thickness modifier (not unique)");
1709 "Thickness modifier type to add");
1712 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Newly added thickness modifier");
1715 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_thickness_modifier_remove");
1719 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Thickness modifier to remove");
1731 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifiers",
nullptr);
1734 srna,
"Geometry Modifiers",
"Geometry modifiers for changing line geometries");
1736 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_geometry_modifier_add");
1740 func,
"name",
"GeometryModifier", 0,
"",
"New name for the geometry modifier (not unique)");
1747 "Geometry modifier type to add");
1750 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Newly added geometry modifier");
1753 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_geometry_modifier_remove");
1757 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Geometry modifier to remove");
1768 {
LS_PANEL_STROKES,
"STROKES", 0,
"Strokes",
"Show the panel for stroke construction"},
1769 {
LS_PANEL_COLOR,
"COLOR", 0,
"Color",
"Show the panel for line color options"},
1770 {
LS_PANEL_ALPHA,
"ALPHA", 0,
"Alpha",
"Show the panel for alpha transparency options"},
1775 "Show the panel for line thickness options"},
1776 {
LS_PANEL_GEOMETRY,
"GEOMETRY", 0,
"Geometry",
"Show the panel for stroke geometry options"},
1777 {
LS_PANEL_TEXTURE,
"TEXTURE", 0,
"Texture",
"Show the panel for stroke texture options"},
1779 {
LS_PANEL_MISC,
"MISC", 0,
"Misc",
"Show the panel for miscellaneous options"},
1781 {0,
nullptr, 0,
nullptr,
nullptr},
1786 {0,
nullptr, 0,
nullptr,
nullptr},
1790 {
LS_CAPS_ROUND,
"ROUND", 0,
"Round",
"Round cap (half-circle)"},
1791 {
LS_CAPS_SQUARE,
"SQUARE", 0,
"Square",
"Square cap (flat and extended)"},
1792 {0,
nullptr, 0,
nullptr,
nullptr},
1799 "Silhouettes and border edges are centered along stroke geometry"},
1804 "Silhouettes and border edges are drawn inside of stroke geometry"},
1809 "Silhouettes and border edges are drawn outside of stroke geometry"},
1814 "Silhouettes and border edges are shifted by a user-defined ratio"},
1815 {0,
nullptr, 0,
nullptr,
nullptr},
1819 "DISTANCE_FROM_CAMERA",
1821 "Distance from Camera",
1822 "Sort by distance from camera (closer lines lie on top of further lines)"},
1827 "Sort by curvilinear 2D length (longer lines lie on top of shorter lines)"},
1832 "Sort by the projected X value in the image coordinate system"},
1837 "Sort by the projected Y value in the image coordinate system"},
1838 {0,
nullptr, 0,
nullptr,
nullptr},
1841 {0,
"DEFAULT", 0,
"Default",
"Default order of the sort key"},
1843 {0,
nullptr, 0,
nullptr,
nullptr},
1850 "The value computed for the chain is the mean of the values obtained for chain vertices"},
1855 "The value computed for the chain is the minimum of the values obtained for chain "
1861 "The value computed for the chain is the maximum of the values obtained for chain "
1867 "The value computed for the chain is the value obtained for the first chain vertex"},
1872 "The value computed for the chain is the value obtained for the last chain vertex"},
1873 {0,
nullptr, 0,
nullptr,
nullptr},
1878 srna,
"Freestyle Line Style",
"Freestyle line style, reusable by multiple line sets");
1883 "rna_LineStyle_mtex_begin",
1884 "rna_LineStyle_active_texture_get",
1885 "rna_LineStyle_active_texture_set",
1887 "LineStyleTextureSlot",
1888 "LineStyleTextureSlots",
1889 "rna_LineStyle_update",
1890 "rna_LineStyle_update");
1902 prop,
"Color",
"Base line color, possibly modified by line color modifiers");
1910 "Alpha Transparency",
1911 "Base alpha transparency, possibly modified by alpha transparency modifiers");
1918 prop,
"Thickness",
"Base line thickness, possibly modified by line thickness modifiers");
1925 "Thickness Position",
1926 "Thickness position of silhouettes and border edges (applicable when "
1927 "plain chaining is used with the Same Object option)");
1936 "A number between 0 (inside) and 1 (outside) specifying the relative position of "
1937 "stroke thickness");
1973 prop,
"Chaining Method",
"Select the way how feature edges are jointed to form chains");
1985 prop,
"Same Object",
"If true, only feature edges of the same object are joined");
1991 prop,
"Use Split Length",
"Enable chain splitting by curvilinear 2D length");
2004 "Split chains at points with angles smaller than the minimum 2D angle");
2017 "Split chains at points with angles larger than the maximum 2D angle");
2029 prop,
"Use Min 2D Length",
"Enable the selection of chains by a minimum 2D length");
2036 prop,
"Min 2D Length",
"Minimum curvilinear 2D length for the selection of chains");
2042 prop,
"Use Max 2D Length",
"Enable the selection of chains by a maximum 2D length");
2049 prop,
"Max 2D Length",
"Maximum curvilinear 2D length for the selection of chains");
2065 prop,
"Use Split Pattern",
"Enable chain splitting by dashed line patterns");
2107 "Material Boundary",
2108 "If true, chains of feature edges are split at material boundaries");
2120 prop,
"Sort Key",
"Select the sort key to determine the stacking order of chains");
2133 prop,
"Integration Type",
"Select the way how the sort key is computed for each chain");
Scene * CTX_data_scene(const bContext *C)
Main * CTX_data_main(const bContext *C)
Blender kernel freestyle line style functionality.
int BKE_linestyle_alpha_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
int BKE_linestyle_color_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
LineStyleModifier * BKE_linestyle_geometry_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
void BKE_linestyle_default_shader(const struct bContext *C, FreestyleLineStyle *linestyle)
LineStyleModifier * BKE_linestyle_alpha_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
LineStyleModifier * BKE_linestyle_color_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
int BKE_linestyle_thickness_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
LineStyleModifier * BKE_linestyle_thickness_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
int BKE_linestyle_geometry_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BKE_report(ReportList *reports, eReportType type, const char *message)
struct Tex * give_current_linestyle_texture(struct FreestyleLineStyle *linestyle)
void set_current_linestyle_texture(struct FreestyleLineStyle *linestyle, struct Tex *tex)
size_t BLI_str_escape(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
#define STRNCPY_UTF8(dst, src)
void BLI_uniquename(const struct ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_maxncpy) ATTR_NONNULL(1
#define BLT_I18NCONTEXT_ID_FREESTYLELINESTYLE
#define BLT_I18NCONTEXT_AMOUNT
#define BLT_I18NCONTEXT_ID_IMAGE
#define BLT_I18NCONTEXT_ID_TEXTURE
void DEG_id_tag_update(ID *id, unsigned int flags)
@ LS_MODIFIER_SPATIAL_NOISE_PURERANDOM
@ LS_MODIFIER_SPATIAL_NOISE_SMOOTH
@ LS_MODIFIER_BEZIER_CURVE
@ LS_MODIFIER_BACKBONE_STRETCHER
@ LS_MODIFIER_SPATIAL_NOISE
@ LS_MODIFIER_PERLIN_NOISE_2D
@ LS_MODIFIER_POLYGONIZATION
@ LS_MODIFIER_GUIDING_LINES
@ LS_MODIFIER_SIMPLIFICATION
@ LS_MODIFIER_CREASE_ANGLE
@ LS_MODIFIER_2D_TRANSFORM
@ LS_MODIFIER_DISTANCE_FROM_OBJECT
@ LS_MODIFIER_CALLIGRAPHY
@ LS_MODIFIER_CURVATURE_3D
@ LS_MODIFIER_SINUS_DISPLACEMENT
@ LS_MODIFIER_ALONG_STROKE
@ LS_MODIFIER_DISTANCE_FROM_CAMERA
@ LS_MODIFIER_PERLIN_NOISE_1D
@ LS_MODIFIER_TIP_REMOVER
@ LS_MODIFIER_MATERIAL_SPEC_B
@ LS_MODIFIER_MATERIAL_SPEC_G
@ LS_MODIFIER_MATERIAL_DIFF_G
@ LS_MODIFIER_MATERIAL_DIFF_B
@ LS_MODIFIER_MATERIAL_SPEC_R
@ LS_MODIFIER_MATERIAL_LINE_G
@ LS_MODIFIER_MATERIAL_LINE_R
@ LS_MODIFIER_MATERIAL_LINE_B
@ LS_MODIFIER_MATERIAL_LINE
@ LS_MODIFIER_MATERIAL_ALPHA
@ LS_MODIFIER_MATERIAL_SPEC
@ LS_MODIFIER_MATERIAL_DIFF_R
@ LS_MODIFIER_MATERIAL_LINE_A
@ LS_MODIFIER_MATERIAL_DIFF
@ LS_MODIFIER_MATERIAL_SPEC_HARD
@ LS_MODIFIER_BLUEPRINT_SQUARES
@ LS_MODIFIER_BLUEPRINT_CIRCLES
@ LS_MODIFIER_BLUEPRINT_ELLIPSES
@ LS_MODIFIER_2D_TRANSFORM_PIVOT_PARAM
@ LS_MODIFIER_2D_TRANSFORM_PIVOT_START
@ LS_MODIFIER_2D_TRANSFORM_PIVOT_CENTER
@ LS_MODIFIER_2D_TRANSFORM_PIVOT_ABSOLUTE
@ LS_MODIFIER_2D_TRANSFORM_PIVOT_END
@ LS_THICKNESS_ASYMMETRIC
@ LS_SORT_KEY_PROJECTED_X
@ LS_SORT_KEY_DISTANCE_FROM_CAMERA
@ LS_SORT_KEY_PROJECTED_Y
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
void rna_iterator_array_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, void *data, size_t itemsize, int64_t length, bool free_ptr, IteratorSkipFunc skip)
PointerRNA RNA_id_pointer_create(ID *id)
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_struct_name_property(StructRNA *srna, PropertyRNA *prop)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, const int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_function_flag(FunctionRNA *func, int flag)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void rna_def_mtex_common(BlenderRNA *brna, StructRNA *srna, const char *begin, const char *activeget, const char *activeset, const char *activeeditable, const char *name, const char *name_slots, const char *update, const char *update_index)
static void rna_def_modifier_color_ramp_common(StructRNA *srna, int range)
static void rna_def_linestyle_mtex(BlenderRNA *brna)
static void rna_def_modifier_material_common(StructRNA *srna)
const EnumPropertyItem rna_enum_linestyle_thickness_modifier_type_items[]
static void rna_def_geometry_modifier(StructRNA *srna)
const EnumPropertyItem rna_enum_linestyle_geometry_modifier_type_items[]
static void rna_def_linestyle_modifiers(BlenderRNA *brna)
void RNA_def_linestyle(BlenderRNA *brna)
static void rna_def_color_modifier(StructRNA *srna)
static void rna_def_freestyle_color_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_freestyle_thickness_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_thickness_modifier(StructRNA *srna)
static void rna_def_modifier_type_common(StructRNA *srna, const EnumPropertyItem *modifier_type_items, const bool blend, const bool color)
static void rna_def_linestyle(BlenderRNA *brna)
static void rna_def_freestyle_alpha_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_alpha_modifier(StructRNA *srna)
const EnumPropertyItem rna_enum_linestyle_color_modifier_type_items[]
static void rna_def_modifier_curve_common(StructRNA *srna, bool range, bool value)
static void rna_def_freestyle_geometry_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
const EnumPropertyItem rna_enum_linestyle_alpha_modifier_type_items[]
const EnumPropertyItem rna_enum_ramp_blend_items[]
static int blend(const Tex *tex, const float texvec[3], TexResult *texres)
void WM_main_add_notifier(uint type, void *reference)