Blender
V3.3
|
#include <stdio.h>
#include <stdlib.h>
#include "BLI_utildefines.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "DNA_linestyle_types.h"
#include "DNA_material_types.h"
#include "DNA_texture_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "BLI_math.h"
Go to the source code of this file.
Definition at line 700 of file rna_linestyle.c.
References rna_def_modifier_type_common(), and rna_enum_linestyle_alpha_modifier_type_items.
Referenced by rna_def_linestyle_modifiers().
Definition at line 691 of file rna_linestyle.c.
References rna_def_modifier_type_common(), and rna_enum_linestyle_color_modifier_type_items.
Referenced by rna_def_linestyle_modifiers().
|
static |
Definition at line 1630 of file rna_linestyle.c.
References FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_enum(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_linestyle_alpha_modifier_type_items.
Referenced by rna_def_linestyle().
|
static |
Definition at line 1593 of file rna_linestyle.c.
References FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_enum(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_linestyle_color_modifier_type_items.
Referenced by rna_def_linestyle().
|
static |
Definition at line 1709 of file rna_linestyle.c.
References FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_enum(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_linestyle_geometry_modifier_type_items.
Referenced by rna_def_linestyle().
|
static |
Definition at line 1667 of file rna_linestyle.c.
References FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_enum(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_linestyle_thickness_modifier_type_items.
Referenced by rna_def_linestyle().
Definition at line 718 of file rna_linestyle.c.
References rna_def_modifier_type_common(), and rna_enum_linestyle_geometry_modifier_type_items.
Referenced by rna_def_linestyle_modifiers().
|
static |
Definition at line 1747 of file rna_linestyle.c.
References DEG2RADF, LS_CAPS_BUTT, LS_CAPS_ROUND, LS_CAPS_SQUARE, LS_CHAIN_COUNT, LS_CHAINING_PLAIN, LS_CHAINING_SKETCHY, LS_DASHED_LINE, LS_INTEGRATION_FIRST, LS_INTEGRATION_LAST, LS_INTEGRATION_MAX, LS_INTEGRATION_MEAN, LS_INTEGRATION_MIN, LS_MATERIAL_BOUNDARY, LS_MAX_2D_ANGLE, LS_MAX_2D_LENGTH, LS_MIN_2D_ANGLE, LS_MIN_2D_LENGTH, LS_NO_CHAINING, LS_NO_SORTING, LS_PANEL_ALPHA, LS_PANEL_COLOR, LS_PANEL_GEOMETRY, LS_PANEL_MISC, LS_PANEL_STROKES, LS_PANEL_TEXTURE, LS_PANEL_THICKNESS, LS_REVERSE_ORDER, LS_SAME_OBJECT, LS_SORT_KEY_2D_LENGTH, LS_SORT_KEY_DISTANCE_FROM_CAMERA, LS_SORT_KEY_PROJECTED_X, LS_SORT_KEY_PROJECTED_Y, LS_SPLIT_LENGTH, LS_SPLIT_PATTERN, LS_TEXTURE, LS_THICKNESS_CENTER, LS_THICKNESS_INSIDE, LS_THICKNESS_OUTSIDE, LS_THICKNESS_RELATIVE, NC_LINESTYLE, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR, PROP_CONTEXT_UPDATE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_PTR_NO_OWNERSHIP, PROP_UNSIGNED, PROPOVERRIDE_OVERRIDABLE_LIBRARY, rna_def_animdata_common(), rna_def_freestyle_alpha_modifiers(), rna_def_freestyle_color_modifiers(), rna_def_freestyle_geometry_modifiers(), rna_def_freestyle_thickness_modifiers(), rna_def_mtex_common(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_ui_icon(), and RNA_def_struct_ui_text().
Referenced by RNA_def_linestyle().
void RNA_def_linestyle | ( | BlenderRNA * | brna | ) |
Definition at line 2193 of file rna_linestyle.c.
References rna_def_linestyle(), rna_def_linestyle_modifiers(), and rna_def_linestyle_mtex().
|
static |
Definition at line 836 of file rna_linestyle.c.
References LS_MODIFIER_2D_TRANSFORM_PIVOT_ABSOLUTE, LS_MODIFIER_2D_TRANSFORM_PIVOT_CENTER, LS_MODIFIER_2D_TRANSFORM_PIVOT_END, LS_MODIFIER_2D_TRANSFORM_PIVOT_PARAM, LS_MODIFIER_2D_TRANSFORM_PIVOT_START, LS_MODIFIER_BLUEPRINT_CIRCLES, LS_MODIFIER_BLUEPRINT_ELLIPSES, LS_MODIFIER_BLUEPRINT_SQUARES, LS_MODIFIER_SPATIAL_NOISE_PURERANDOM, LS_MODIFIER_SPATIAL_NOISE_SMOOTH, LS_MODIFIER_USE_RAMP, LS_THICKNESS_ASYMMETRIC, NC_LINESTYLE, NULL, PROP_ANGLE, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_PROPORTIONAL, PROP_UNSIGNED, rna_def_alpha_modifier(), rna_def_color_modifier(), rna_def_geometry_modifier(), rna_def_modifier_color_ramp_common(), rna_def_modifier_curve_common(), rna_def_modifier_material_common(), RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_refine_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_def_thickness_modifier().
Referenced by RNA_def_linestyle().
|
static |
Definition at line 518 of file rna_linestyle.c.
References MAP_ALPHA, MAP_COL, MTEX_CUBE, MTEX_FLAT, MTEX_SPHERE, MTEX_TUBE, NULL, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_NONE, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), TEXCO_GLOB, TEXCO_ORCO, TEXCO_STROKE, and TEXCO_WINDOW.
Referenced by RNA_def_linestyle().
Definition at line 727 of file rna_linestyle.c.
References NC_LINESTYLE, NULL, PROP_DISTANCE, PROP_FLOAT, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_float_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by rna_def_linestyle_modifiers().
Definition at line 752 of file rna_linestyle.c.
References LS_MODIFIER_INVERT, LS_MODIFIER_USE_CURVE, NC_LINESTYLE, NULL, PROP_BOOLEAN, PROP_DISTANCE, PROP_ENUM, PROP_FLOAT, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_float_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by rna_def_linestyle_modifiers().
Definition at line 806 of file rna_linestyle.c.
References LS_MODIFIER_MATERIAL_ALPHA, LS_MODIFIER_MATERIAL_DIFF, LS_MODIFIER_MATERIAL_DIFF_B, LS_MODIFIER_MATERIAL_DIFF_G, LS_MODIFIER_MATERIAL_DIFF_R, LS_MODIFIER_MATERIAL_LINE, LS_MODIFIER_MATERIAL_LINE_A, LS_MODIFIER_MATERIAL_LINE_B, LS_MODIFIER_MATERIAL_LINE_G, LS_MODIFIER_MATERIAL_LINE_R, LS_MODIFIER_MATERIAL_SPEC, LS_MODIFIER_MATERIAL_SPEC_B, LS_MODIFIER_MATERIAL_SPEC_G, LS_MODIFIER_MATERIAL_SPEC_HARD, LS_MODIFIER_MATERIAL_SPEC_R, NC_LINESTYLE, NULL, PROP_ENUM, PROP_NONE, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by rna_def_linestyle_modifiers().
|
static |
Definition at line 631 of file rna_linestyle.c.
References blend(), color, LS_MODIFIER_ENABLED, LS_MODIFIER_EXPANDED, LS_VALUE_ADD, LS_VALUE_BLEND, LS_VALUE_DIFF, LS_VALUE_DIV, LS_VALUE_MAX, LS_VALUE_MIN, LS_VALUE_MULT, LS_VALUE_SUB, NC_LINESTYLE, NULL, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_NONE, PROP_STRING, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct_name_property(), and rna_enum_ramp_blend_items.
Referenced by rna_def_alpha_modifier(), rna_def_color_modifier(), rna_def_geometry_modifier(), and rna_def_thickness_modifier().
Definition at line 709 of file rna_linestyle.c.
References rna_def_modifier_type_common(), and rna_enum_linestyle_thickness_modifier_type_items.
Referenced by rna_def_linestyle_modifiers().
const EnumPropertyItem rna_enum_linestyle_alpha_modifier_type_items[] |
Definition at line 44 of file rna_linestyle.c.
Referenced by rna_def_alpha_modifier(), and rna_def_freestyle_alpha_modifiers().
const EnumPropertyItem rna_enum_linestyle_color_modifier_type_items[] |
Definition at line 24 of file rna_linestyle.c.
Referenced by rna_def_color_modifier(), and rna_def_freestyle_color_modifiers().
const EnumPropertyItem rna_enum_linestyle_geometry_modifier_type_items[] |
Definition at line 85 of file rna_linestyle.c.
Referenced by rna_def_freestyle_geometry_modifiers(), and rna_def_geometry_modifier().
const EnumPropertyItem rna_enum_linestyle_thickness_modifier_type_items[] |
Definition at line 64 of file rna_linestyle.c.
Referenced by rna_def_freestyle_thickness_modifiers(), and rna_def_thickness_modifier().