Blender
V3.3
|
#include <stdlib.h>
#include "DNA_curve_types.h"
#include "DNA_key_types.h"
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BKE_vfont.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "WM_types.h"
Go to the source code of this file.
Functions | |
static void | rna_def_bpoint (BlenderRNA *brna) |
static void | rna_def_beztriple (BlenderRNA *brna) |
static void | rna_def_path (BlenderRNA *UNUSED(brna), StructRNA *srna) |
static void | rna_def_nurbs (BlenderRNA *UNUSED(brna), StructRNA *UNUSED(srna)) |
static void | rna_def_font (BlenderRNA *UNUSED(brna), StructRNA *srna) |
static void | rna_def_textbox (BlenderRNA *brna) |
static void | rna_def_charinfo (BlenderRNA *brna) |
static void | rna_def_surface (BlenderRNA *brna) |
static void | rna_def_text (BlenderRNA *brna) |
static void | rna_def_curve_spline_points (BlenderRNA *brna, PropertyRNA *cprop) |
static void | rna_def_curve_spline_bezpoints (BlenderRNA *brna, PropertyRNA *cprop) |
static void | rna_def_curve_splines (BlenderRNA *brna, PropertyRNA *cprop) |
static void | rna_def_curve (BlenderRNA *brna) |
static void | rna_def_curve_nurb (BlenderRNA *brna) |
void | RNA_def_curve (BlenderRNA *brna) |
Variables | |
static const EnumPropertyItem | beztriple_handle_type_items [] |
const EnumPropertyItem | rna_enum_keyframe_handle_type_items [] |
const EnumPropertyItem | rna_enum_beztriple_interpolation_mode_items [] |
static const EnumPropertyItem | curve_type_items [] |
static const EnumPropertyItem | curve3d_fill_mode_items [] |
static const float | tilt_limit = DEG2RADF(21600.0f) |
|
static |
Definition at line 901 of file rna_curve.c.
References beztriple_handle_type_items, NULL, PROP_ANGLE, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_NONE, PROP_TRANSLATION, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), RNA_TRANSLATION_PREC_DEFAULT, SELECT, and tilt_limit.
Referenced by RNA_def_curve().
|
static |
Definition at line 846 of file rna_curve.c.
References NULL, PROP_ANGLE, PROP_BOOLEAN, PROP_FLOAT, PROP_NONE, PROP_TRANSLATION, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), RNA_TRANSLATION_PREC_DEFAULT, SELECT, and tilt_limit.
Referenced by RNA_def_curve().
|
static |
Definition at line 1318 of file rna_curve.c.
References CU_CHINFO_BOLD, CU_CHINFO_ITALIC, CU_CHINFO_SMALLCAPS, CU_CHINFO_UNDERLINE, CU_CHINFO_WRAP, NULL, PROP_BOOLEAN, PROP_INT, PROP_NONE, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_ui_icon(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_curve().
|
static |
Definition at line 1500 of file rna_curve.c.
References CU_3D, CU_AUTOSPACE, CU_BEV_MODE_CURVE_PROFILE, CU_BEV_MODE_OBJECT, CU_BEV_MODE_ROUND, CU_BEVFAC_MAP_RESOLU, CU_BEVFAC_MAP_SEGMENT, CU_BEVFAC_MAP_SPLINE, CU_FILL_CAPS, CU_MAP_TAPER, CU_TAPER_RADIUS_ADD, CU_TAPER_RADIUS_MULTIPLY, CU_TAPER_RADIUS_OVERRIDE, CU_TWIST_MINIMUM, CU_TWIST_TANGENT, CU_TWIST_Z_UP, curve3d_fill_mode_items, NC_OBJECT, ND_DRAW, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_PROPORTIONAL, PROP_PTR_NO_OWNERSHIP, PROP_TIME, PROP_TRANSLATION, PROP_UNIT_LENGTH, PROP_XYZ, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_api_curve(), rna_def_animdata_common(), rna_def_curve_splines(), rna_def_path(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_editable_func(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_srna(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_refine_func(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by RNA_def_curve().
void RNA_def_curve | ( | BlenderRNA * | brna | ) |
Definition at line 2058 of file rna_curve.c.
References rna_def_beztriple(), rna_def_bpoint(), rna_def_charinfo(), rna_def_curve(), rna_def_curve_nurb(), rna_def_surface(), rna_def_text(), and rna_def_textbox().
|
static |
Definition at line 1870 of file rna_curve.c.
References CU_NURB_BEZIER, CU_NURB_CYCLIC, CU_NURB_ENDPOINT, CU_SMOOTH, curve_type_items, KEY_BSPLINE, KEY_CARDINAL, KEY_CU_EASE, KEY_LINEAR, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_INT, PROP_NONE, PROP_UNSIGNED, RNA_api_curve_nurb(), rna_def_curve_spline_bezpoints(), rna_def_curve_spline_points(), RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_curve().
|
static |
Definition at line 1431 of file rna_curve.c.
References FUNC_USE_REPORTS, FUNC_USE_SELF_ID, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_function(), RNA_def_function_flag(), RNA_def_function_ui_description(), RNA_def_int(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_curve_nurb().
|
static |
Definition at line 1401 of file rna_curve.c.
References FUNC_USE_REPORTS, FUNC_USE_SELF_ID, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_function(), RNA_def_function_flag(), RNA_def_function_ui_description(), RNA_def_int(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property_srna(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_curve_nurb().
|
static |
Definition at line 1462 of file rna_curve.c.
References CU_POLY, curve_type_items, FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_EDITABLE, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, 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(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_srna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_curve().
|
static |
Definition at line 1054 of file rna_curve.c.
References CU_ALIGN_X_FLUSH, CU_ALIGN_X_JUSTIFY, CU_ALIGN_X_LEFT, CU_ALIGN_X_MIDDLE, CU_ALIGN_X_RIGHT, CU_ALIGN_Y_BOTTOM, CU_ALIGN_Y_BOTTOM_BASELINE, CU_ALIGN_Y_CENTER, CU_ALIGN_Y_TOP, CU_ALIGN_Y_TOP_BASELINE, CU_FAST, CU_OVERFLOW_NONE, CU_OVERFLOW_SCALE, CU_OVERFLOW_TRUNCATE, MAX_ID_NAME, NULL, PROP_BOOLEAN, PROP_COLLECTION, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_STRING, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_collection_sdna(), RNA_def_property_enum_default(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_maxlength(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by rna_def_text().
|
static |
Definition at line 1049 of file rna_curve.c.
Referenced by rna_def_surface(), and rna_def_text().
|
static |
Definition at line 991 of file rna_curve.c.
References CU_DEFORM_BOUNDS_OFF, CU_FOLLOW, CU_PATH, CU_PATH_CLAMP, CU_PATH_RADIUS, CU_STRETCH, MAXFRAME, NULL, PROP_BOOLEAN, PROP_INT, PROP_NONE, PROP_TIME, RNA_def_property(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by rna_def_curve().
|
static |
Definition at line 1375 of file rna_curve.c.
References rna_def_nurbs(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), and RNA_def_struct_ui_text().
Referenced by RNA_def_curve().
|
static |
Definition at line 1387 of file rna_curve.c.
References rna_def_font(), rna_def_nurbs(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), and RNA_def_struct_ui_text().
Referenced by RNA_def_curve().
|
static |
Definition at line 1278 of file rna_curve.c.
References NULL, PROP_DISTANCE, PROP_FLOAT, RNA_def_property(), RNA_def_property_float_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), and RNA_def_struct_ui_text().
Referenced by RNA_def_curve().
|
static |
|
static |
Definition at line 134 of file rna_curve.c.
Referenced by rna_def_curve().
|
static |
Definition at line 126 of file rna_curve.c.
Referenced by RNA_api_ui_layout(), rna_def_curve_nurb(), rna_def_curve_paint_settings(), and rna_def_curve_splines().
const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] |
gpencil_interpolation_type_items
, Changes here will likely apply there too. Definition at line 68 of file rna_curve.c.
Referenced by ACTION_OT_interpolation_type(), GRAPH_OT_interpolation_type(), rna_def_fkeyframe(), and rna_def_userdef_edit().
const EnumPropertyItem rna_enum_keyframe_handle_type_items[] |
Definition at line 39 of file rna_curve.c.
Referenced by ACTION_OT_handle_type(), GRAPH_OT_handle_type(), rna_def_fkeyframe(), and rna_def_userdef_edit().
Definition at line 844 of file rna_curve.c.
Referenced by rna_def_beztriple(), rna_def_bpoint(), and v3d_editvertex_buts().