34 "DISTANCE_FROM_CAMERA",
36 "Distance from Camera",
39 "DISTANCE_FROM_OBJECT",
41 "Distance from Object",
46 {0,
nullptr, 0,
nullptr,
nullptr},
54 "DISTANCE_FROM_CAMERA",
56 "Distance from Camera",
59 "DISTANCE_FROM_OBJECT",
61 "Distance from Object",
66 {0,
nullptr, 0,
nullptr,
nullptr},
75 "DISTANCE_FROM_CAMERA",
77 "Distance from Camera",
80 "DISTANCE_FROM_OBJECT",
82 "Distance from Object",
87 {0,
nullptr, 0,
nullptr,
nullptr},
107 "SINUS_DISPLACEMENT",
109 "Sinus Displacement",
113 {0,
nullptr, 0,
nullptr,
nullptr},
118# include <fmt/format.h>
137 return &RNA_LineStyleColorModifier_AlongStroke;
139 return &RNA_LineStyleColorModifier_DistanceFromCamera;
141 return &RNA_LineStyleColorModifier_DistanceFromObject;
143 return &RNA_LineStyleColorModifier_Material;
145 return &RNA_LineStyleColorModifier_Tangent;
147 return &RNA_LineStyleColorModifier_Noise;
149 return &RNA_LineStyleColorModifier_CreaseAngle;
151 return &RNA_LineStyleColorModifier_Curvature_3D;
153 return &RNA_LineStyleColorModifier;
163 return &RNA_LineStyleAlphaModifier_AlongStroke;
165 return &RNA_LineStyleAlphaModifier_DistanceFromCamera;
167 return &RNA_LineStyleAlphaModifier_DistanceFromObject;
169 return &RNA_LineStyleAlphaModifier_Material;
171 return &RNA_LineStyleAlphaModifier_Tangent;
173 return &RNA_LineStyleAlphaModifier_Noise;
175 return &RNA_LineStyleAlphaModifier_CreaseAngle;
177 return &RNA_LineStyleAlphaModifier_Curvature_3D;
179 return &RNA_LineStyleAlphaModifier;
189 return &RNA_LineStyleThicknessModifier_AlongStroke;
191 return &RNA_LineStyleThicknessModifier_DistanceFromCamera;
193 return &RNA_LineStyleThicknessModifier_DistanceFromObject;
195 return &RNA_LineStyleThicknessModifier_Material;
197 return &RNA_LineStyleThicknessModifier_Calligraphy;
199 return &RNA_LineStyleThicknessModifier_Tangent;
201 return &RNA_LineStyleThicknessModifier_Noise;
203 return &RNA_LineStyleThicknessModifier_CreaseAngle;
205 return &RNA_LineStyleThicknessModifier_Curvature_3D;
207 return &RNA_LineStyleThicknessModifier;
217 return &RNA_LineStyleGeometryModifier_Sampling;
219 return &RNA_LineStyleGeometryModifier_BezierCurve;
221 return &RNA_LineStyleGeometryModifier_SinusDisplacement;
223 return &RNA_LineStyleGeometryModifier_SpatialNoise;
225 return &RNA_LineStyleGeometryModifier_PerlinNoise1D;
227 return &RNA_LineStyleGeometryModifier_PerlinNoise2D;
229 return &RNA_LineStyleGeometryModifier_BackboneStretcher;
231 return &RNA_LineStyleGeometryModifier_TipRemover;
233 return &RNA_LineStyleGeometryModifier_Polygonalization;
235 return &RNA_LineStyleGeometryModifier_GuidingLines;
237 return &RNA_LineStyleGeometryModifier_Blueprint;
239 return &RNA_LineStyleGeometryModifier_2DOffset;
241 return &RNA_LineStyleGeometryModifier_2DTransform;
243 return &RNA_LineStyleGeometryModifier_Simplification;
245 return &RNA_LineStyleGeometryModifier;
249static std::optional<std::string> rna_LineStyle_color_modifier_path(
const PointerRNA *
ptr)
252 char name_esc[
sizeof(m->name) * 2];
254 return fmt::format(
"color_modifiers[\"{}\"]", name_esc);
257static std::optional<std::string> rna_LineStyle_alpha_modifier_path(
const PointerRNA *
ptr)
260 char name_esc[
sizeof(m->name) * 2];
262 return fmt::format(
"alpha_modifiers[\"{}\"]", name_esc);
265static std::optional<std::string> rna_LineStyle_thickness_modifier_path(
const PointerRNA *
ptr)
268 char name_esc[
sizeof(m->name) * 2];
270 return fmt::format(
"thickness_modifiers[\"{}\"]", name_esc);
273static std::optional<std::string> rna_LineStyle_geometry_modifier_path(
const PointerRNA *
ptr)
276 char name_esc[
sizeof(m->name) * 2];
278 return fmt::format(
"geometry_modifiers[\"{}\"]", name_esc);
281static void rna_LineStyleColorModifier_name_set(
PointerRNA *
ptr,
const char *value)
295static void rna_LineStyleAlphaModifier_name_set(
PointerRNA *
ptr,
const char *value)
309static void rna_LineStyleThicknessModifier_name_set(
PointerRNA *
ptr,
const char *value)
323static void rna_LineStyleGeometryModifier_name_set(
PointerRNA *
ptr,
const char *value)
476 reports,
RPT_ERROR,
"Thickness modifier '%s' could not be removed", modifier->name);
529 {
TEXCO_WINDOW,
"WINDOW", 0,
"Window",
"Use screen coordinates as texture coordinates"},
530 {
TEXCO_GLOB,
"GLOBAL", 0,
"Global",
"Use global coordinates for the texture coordinates"},
535 "Use stroke length for texture coordinates"},
540 "Use the original undeformed coordinates of the object"},
541 {0,
nullptr, 0,
nullptr,
nullptr},
545 {
MTEX_FLAT,
"FLAT", 0,
"Flat",
"Map X and Y coordinates directly"},
546 {
MTEX_CUBE,
"CUBE", 0,
"Cube",
"Map using the normal vector"},
547 {
MTEX_TUBE,
"TUBE", 0,
"Tube",
"Map with Z as central axis"},
548 {
MTEX_SPHERE,
"SPHERE", 0,
"Sphere",
"Map with Z as central axis"},
549 {0,
nullptr, 0,
nullptr,
nullptr},
553 {0,
"NONE", 0,
"None",
""},
554 {1,
"X", 0,
"X",
""},
555 {2,
"Y", 0,
"Y",
""},
556 {3,
"Z", 0,
"Z",
""},
557 {0,
nullptr, 0,
nullptr,
nullptr},
561 {0,
"NONE", 0,
"None",
""},
562 {1,
"X", 0,
"X",
""},
563 {2,
"Y", 0,
"Y",
""},
564 {3,
"Z", 0,
"Z",
""},
565 {0,
nullptr, 0,
nullptr,
nullptr},
569 {0,
"NONE", 0,
"None",
""},
570 {1,
"X", 0,
"X",
""},
571 {2,
"Y", 0,
"Y",
""},
572 {3,
"Z", 0,
"Z",
""},
573 {0,
nullptr, 0,
nullptr,
nullptr},
576 srna =
RNA_def_struct(brna,
"LineStyleTextureSlot",
"TextureSlot");
579 srna,
"LineStyle Texture Slot",
"Texture slot for textures in a LineStyle data-block");
621 "Texture Coordinates",
622 "Texture coordinates used to map the texture onto the background");
655 {0,
nullptr, 0,
nullptr,
nullptr},
669 prop,
"Blend",
"Specify how the modifier value is blended into the base value");
676 prop,
"Influence",
"Influence factor by which the modifier changes the property");
726 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
732 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
742 {0,
"LINEAR", 0,
"Linear",
"Use linear mapping"},
744 {0,
nullptr, 0,
nullptr,
nullptr},
768 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
774 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
811 {0,
nullptr, 0,
nullptr,
nullptr},
831 "Draw a blueprint using circular contour strokes"},
836 "Draw a blueprint using elliptic contour strokes"},
841 "Draw a blueprint using square contour strokes"},
842 {0,
nullptr, 0,
nullptr,
nullptr},
851 {0,
nullptr, 0,
nullptr,
nullptr},
859 srna =
RNA_def_struct(brna,
"LineStyleColorModifier",
"LineStyleModifier");
864 srna,
"Line Style Color Modifier",
"Base type to define line color modifiers");
873 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_AlongStroke",
"LineStyleColorModifier");
879 brna,
"LineStyleColorModifier_DistanceFromCamera",
"LineStyleColorModifier");
881 srna,
"Distance from Camera",
"Change line color based on the distance from the camera");
886 brna,
"LineStyleColorModifier_DistanceFromObject",
"LineStyleColorModifier");
888 srna,
"Distance from Object",
"Change line color based on the distance from an object");
899 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Material",
"LineStyleColorModifier");
910 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Tangent",
"LineStyleColorModifier");
915 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Noise",
"LineStyleColorModifier");
936 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_CreaseAngle",
"LineStyleColorModifier");
938 srna,
"Crease Angle",
"Change line color based on the underlying crease angle");
952 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Curvature_3D",
"LineStyleColorModifier");
954 srna,
"Curvature 3D",
"Change line color based on the radial curvature of 3D mesh surfaces");
970 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier",
"LineStyleModifier");
975 srna,
"Line Style Alpha Modifier",
"Base type to define alpha transparency modifiers");
984 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_AlongStroke",
"LineStyleAlphaModifier");
990 brna,
"LineStyleAlphaModifier_DistanceFromCamera",
"LineStyleAlphaModifier");
992 "Distance from Camera",
993 "Change alpha transparency based on the distance from the camera");
998 brna,
"LineStyleAlphaModifier_DistanceFromObject",
"LineStyleAlphaModifier");
1000 "Distance from Object",
1001 "Change alpha transparency based on the distance from an object");
1012 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Material",
"LineStyleAlphaModifier");
1014 srna,
"Material",
"Change alpha transparency based on a material attribute");
1019 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Tangent",
"LineStyleAlphaModifier");
1021 srna,
"Tangent",
"Alpha transparency based on the direction of the stroke");
1025 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Noise",
"LineStyleAlphaModifier");
1046 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_CreaseAngle",
"LineStyleAlphaModifier");
1048 srna,
"Crease Angle",
"Alpha transparency based on the angle between two adjacent faces");
1062 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Curvature_3D",
"LineStyleAlphaModifier");
1065 "Alpha transparency based on the radial curvature of 3D mesh surfaces");
1082 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier",
"LineStyleModifier");
1087 srna,
"Line Style Thickness Modifier",
"Base type to define line thickness modifiers");
1096 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Tangent",
"LineStyleThicknessModifier");
1114 brna,
"LineStyleThicknessModifier_AlongStroke",
"LineStyleThicknessModifier");
1120 brna,
"LineStyleThicknessModifier_DistanceFromCamera",
"LineStyleThicknessModifier");
1122 srna,
"Distance from Camera",
"Change line thickness based on the distance from the camera");
1127 brna,
"LineStyleThicknessModifier_DistanceFromObject",
"LineStyleThicknessModifier");
1129 srna,
"Distance from Object",
"Change line thickness based on the distance from an object");
1140 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Material",
"LineStyleThicknessModifier");
1147 brna,
"LineStyleThicknessModifier_Calligraphy",
"LineStyleThicknessModifier");
1151 "Change line thickness so that stroke looks like made with a calligraphic pen");
1165 "Minimum thickness in the direction perpendicular to the main direction");
1174 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Noise",
"LineStyleThicknessModifier");
1200 brna,
"LineStyleThicknessModifier_Curvature_3D",
"LineStyleThicknessModifier");
1202 srna,
"Curvature 3D",
"Line thickness based on the radial curvature of 3D mesh surfaces");
1231 brna,
"LineStyleThicknessModifier_CreaseAngle",
"LineStyleThicknessModifier");
1233 srna,
"Crease Angle",
"Line thickness based on the angle between two adjacent faces");
1261 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier",
"LineStyleModifier");
1266 srna,
"Line Style Geometry Modifier",
"Base type to define stroke geometry modifiers");
1275 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Sampling",
"LineStyleGeometryModifier");
1279 "Specify a new sampling value that determines the resolution of stroke polylines");
1286 prop,
"Sampling",
"New sampling value to be used for subsequent modifiers");
1290 brna,
"LineStyleGeometryModifier_BezierCurve",
"LineStyleGeometryModifier");
1293 "Replace stroke backbone geometry by a Bézier curve approximation of the "
1294 "original backbone geometry");
1301 "Maximum distance allowed between the new Bézier curve and the "
1302 "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");
1468 brna,
"LineStyleGeometryModifier_GuidingLines",
"LineStyleGeometryModifier");
1472 "Modify the stroke geometry so that it corresponds to its main direction line");
1478 prop,
"Offset",
"Displacement that is applied to the main direction line along its normal");
1481 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Blueprint",
"LineStyleGeometryModifier");
1485 "Produce a blueprint using circular, elliptic, and square contour strokes");
1520 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_2DOffset",
"LineStyleGeometryModifier");
1522 srna,
"2D Offset",
"Add two-dimensional offsets to stroke backbone geometry");
1528 prop,
"Start",
"Displacement that is applied from the beginning of the stroke");
1539 prop,
"X",
"Displacement that is applied to the X coordinates of stroke vertices");
1545 prop,
"Y",
"Displacement that is applied to the Y coordinates of stroke vertices");
1549 brna,
"LineStyleGeometryModifier_2DTransform",
"LineStyleGeometryModifier");
1552 "Apply two-dimensional scaling and rotation to stroke backbone geometry");
1582 "Stroke Point Parameter",
1583 "Pivot in terms of the stroke point parameter u (0 <= u <= 1)");
1597 brna,
"LineStyleGeometryModifier_Simplification",
"LineStyleGeometryModifier");
1622 func,
"name",
"ColorModifier", 0,
"",
"New name for the color modifier (not unique)");
1629 "Color modifier type to add");
1632 func,
"modifier",
"LineStyleColorModifier",
"",
"Newly added color modifier");
1635 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_color_modifier_remove");
1639 func,
"modifier",
"LineStyleColorModifier",
"",
"Color modifier to remove");
1659 func,
"name",
"AlphaModifier", 0,
"",
"New name for the alpha modifier (not unique)");
1666 "Alpha modifier type to add");
1669 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Newly added alpha modifier");
1672 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_alpha_modifier_remove");
1676 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Alpha modifier to remove");
1688 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifiers",
nullptr);
1691 srna,
"Thickness Modifiers",
"Thickness modifiers for changing line thickness");
1693 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_thickness_modifier_add");
1698 "ThicknessModifier",
1701 "New name for the thickness modifier (not unique)");
1708 "Thickness modifier type to add");
1711 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Newly added thickness modifier");
1714 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_thickness_modifier_remove");
1718 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Thickness modifier to remove");
1730 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifiers",
nullptr);
1733 srna,
"Geometry Modifiers",
"Geometry modifiers for changing line geometries");
1735 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_geometry_modifier_add");
1739 func,
"name",
"GeometryModifier", 0,
"",
"New name for the geometry modifier (not unique)");
1746 "Geometry modifier type to add");
1749 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Newly added geometry modifier");
1752 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_geometry_modifier_remove");
1756 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Geometry modifier to remove");
1767 {
LS_PANEL_STROKES,
"STROKES", 0,
"Strokes",
"Show the panel for stroke construction"},
1768 {
LS_PANEL_COLOR,
"COLOR", 0,
"Color",
"Show the panel for line color options"},
1769 {
LS_PANEL_ALPHA,
"ALPHA", 0,
"Alpha",
"Show the panel for alpha transparency options"},
1770 {
LS_PANEL_THICKNESS,
"THICKNESS", 0,
"Thickness",
"Show the panel for line thickness options"},
1771 {
LS_PANEL_GEOMETRY,
"GEOMETRY", 0,
"Geometry",
"Show the panel for stroke geometry options"},
1772 {
LS_PANEL_TEXTURE,
"TEXTURE", 0,
"Texture",
"Show the panel for stroke texture options"},
1774 {
LS_PANEL_MISC,
"MISC", 0,
"Misc",
"Show the panel for miscellaneous options"},
1776 {0,
nullptr, 0,
nullptr,
nullptr},
1781 {0,
nullptr, 0,
nullptr,
nullptr},
1785 {
LS_CAPS_ROUND,
"ROUND", 0,
"Round",
"Round cap (half-circle)"},
1786 {
LS_CAPS_SQUARE,
"SQUARE", 0,
"Square",
"Square cap (flat and extended)"},
1787 {0,
nullptr, 0,
nullptr,
nullptr},
1794 "Silhouettes and border edges are centered along stroke geometry"},
1799 "Silhouettes and border edges are drawn inside of stroke geometry"},
1804 "Silhouettes and border edges are drawn outside of stroke geometry"},
1809 "Silhouettes and border edges are shifted by a user-defined ratio"},
1810 {0,
nullptr, 0,
nullptr,
nullptr},
1814 "DISTANCE_FROM_CAMERA",
1816 "Distance from Camera",
1817 "Sort by distance from camera (closer lines lie on top of further lines)"},
1822 "Sort by curvilinear 2D length (longer lines lie on top of shorter lines)"},
1827 "Sort by the projected X value in the image coordinate system"},
1832 "Sort by the projected Y value in the image coordinate system"},
1833 {0,
nullptr, 0,
nullptr,
nullptr},
1836 {0,
"DEFAULT", 0,
"Default",
"Default order of the sort key"},
1838 {0,
nullptr, 0,
nullptr,
nullptr},
1845 "The value computed for the chain is the mean of the values obtained for chain vertices"},
1850 "The value computed for the chain is the minimum of the values obtained for chain "
1856 "The value computed for the chain is the maximum of the values obtained for chain "
1862 "The value computed for the chain is the value obtained for the first chain vertex"},
1867 "The value computed for the chain is the value obtained for the last chain vertex"},
1868 {0,
nullptr, 0,
nullptr,
nullptr},
1873 srna,
"Freestyle Line Style",
"Freestyle line style, reusable by multiple line sets");
1878 "rna_LineStyle_mtex_begin",
1879 "rna_LineStyle_active_texture_get",
1880 "rna_LineStyle_active_texture_set",
1882 "LineStyleTextureSlot",
1883 "LineStyleTextureSlots",
1884 "rna_LineStyle_update",
1885 "rna_LineStyle_update");
1897 prop,
"Color",
"Base line color, possibly modified by line color modifiers");
1905 "Alpha Transparency",
1906 "Base alpha transparency, possibly modified by alpha transparency modifiers");
1913 prop,
"Thickness",
"Base line thickness, possibly modified by line thickness modifiers");
1920 "Thickness Position",
1921 "Thickness position of silhouettes and border edges (applicable when "
1922 "plain chaining is used with the Same Object option)");
1931 "A number between 0 (inside) and 1 (outside) specifying the relative position of "
1932 "stroke thickness");
1968 prop,
"Chaining Method",
"Select the way how feature edges are jointed to form chains");
1980 prop,
"Same Object",
"If true, only feature edges of the same object are joined");
1986 prop,
"Use Split Length",
"Enable chain splitting by curvilinear 2D length");
1999 "Split chains at points with angles smaller than the minimum 2D angle");
2012 "Split chains at points with angles larger than the maximum 2D angle");
2024 prop,
"Use Min 2D Length",
"Enable the selection of chains by a minimum 2D length");
2031 prop,
"Min 2D Length",
"Minimum curvilinear 2D length for the selection of chains");
2037 prop,
"Use Max 2D Length",
"Enable the selection of chains by a maximum 2D length");
2044 prop,
"Max 2D Length",
"Maximum curvilinear 2D length for the selection of chains");
2060 prop,
"Use Split Pattern",
"Enable chain splitting by dashed line patterns");
2102 "Material Boundary",
2103 "If true, chains of feature edges are split at material boundaries");
2115 prop,
"Sort Key",
"Select the sort key to determine the stacking order of chains");
2128 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_ID_IMAGE
#define BLT_I18NCONTEXT_ID_TEXTURE
void DEG_id_tag_update(ID *id, unsigned int flags)
@ LS_SORT_KEY_PROJECTED_X
@ LS_SORT_KEY_DISTANCE_FROM_CAMERA
@ LS_SORT_KEY_PROJECTED_Y
@ LS_THICKNESS_ASYMMETRIC
@ 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_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_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_MODIFIER_SPATIAL_NOISE_PURERANDOM
@ LS_MODIFIER_SPATIAL_NOISE_SMOOTH
#define RNA_POINTER_INVALIDATE(ptr)
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
FreestyleLineStyle linestyle
void rna_iterator_array_begin(CollectionPropertyIterator *iter, void *ptr, int itemsize, int length, bool free_ptr, IteratorSkipFunc skip)
PointerRNA rna_pointer_inherit_refine(const PointerRNA *ptr, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
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_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
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[]
ListBase geometry_modifiers
struct bNodeTree * nodetree
ListBase thickness_modifiers
void WM_main_add_notifier(uint type, void *reference)