Blender
V3.3
|
#include <stdlib.h>
#include "BLI_math.h"
#include "DNA_brush_types.h"
#include "DNA_curve_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "BLT_translation.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.
Variables | |
static const EnumPropertyItem | parent_type_items [] |
static EnumPropertyItem | rna_enum_gpencil_stroke_depth_order_items [] |
static EnumPropertyItem | rna_enum_gpencil_onion_modes_items [] |
static const EnumPropertyItem | rna_enum_keyframe_type_items [] |
static const EnumPropertyItem | rna_enum_onion_keyframe_type_items [] |
static const EnumPropertyItem | rna_enum_gplayer_move_type_items [] |
static const EnumPropertyItem | rna_enum_layer_blend_modes_items [] |
static const EnumPropertyItem | rna_enum_gpencil_caps_modes_items [] |
void RNA_def_gpencil | ( | BlenderRNA * | brna | ) |
Definition at line 2719 of file rna_gpencil.c.
References rna_def_gpencil_curve(), rna_def_gpencil_curve_point(), rna_def_gpencil_data(), rna_def_gpencil_frame(), rna_def_gpencil_layer(), rna_def_gpencil_layer_mask(), rna_def_gpencil_mvert_group(), rna_def_gpencil_stroke(), rna_def_gpencil_stroke_point(), and rna_def_gpencil_triangle().
|
static |
Definition at line 1535 of file rna_gpencil.c.
References GP_CURVE_SELECT, NULL, PROP_BOOLEAN, PROP_COLLECTION, PROP_NONE, RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_collection_sdna(), RNA_def_property_struct_type(), 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_gpencil().
|
static |
Definition at line 1413 of file rna_gpencil.c.
References M_PI_2, NC_GPENCIL, ND_DATA, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLOR, PROP_EDITABLE, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_TRANSLATION, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_clear_flag(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_int_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_sdna(), RNA_def_struct_ui_text(), and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by RNA_def_gpencil().
|
static |
Definition at line 2409 of file rna_gpencil.c.
References DEG2RADF, GP_DATA_ANNOTATIONS, GP_DATA_AUTOLOCK_LAYERS, GP_DATA_CURVE_ADAPTIVE_RESOLUTION, GP_DATA_CURVE_EDIT_MODE, GP_DATA_SHOW_ONIONSKINS, GP_DATA_STROKE_EDITMODE, GP_DATA_STROKE_KEEPTHICKNESS, GP_DATA_STROKE_MULTIEDIT, GP_DATA_STROKE_PAINTMODE, GP_DATA_STROKE_SCULPTMODE, GP_DATA_STROKE_VERTEXMODE, GP_DATA_STROKE_WEIGHTMODE, GP_DEFAULT_CURVE_ERROR, GP_DEFAULT_CURVE_RESOLUTION, GP_ONION_FADE, GP_ONION_GHOST_ALWAYS, GP_ONION_GHOST_NEXTCOL, GP_ONION_GHOST_PREVCOL, GP_ONION_LOOP, NC_GPENCIL, NC_SCENE, NC_SCREEN, ND_DATA, ND_GPENCIL_EDITMODE, ND_TOOLSETTINGS, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR, PROP_COLOR_GAMMA, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, rna_def_animdata_common(), RNA_def_function(), RNA_def_function_ui_description(), rna_def_gpencil_grid(), rna_def_gpencil_layers_api(), RNA_def_parameter_clear_flags(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_default(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), 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_array_default(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_int_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_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), rna_enum_gpencil_onion_modes_items, rna_enum_gpencil_stroke_depth_order_items, and rna_enum_onion_keyframe_type_items.
Referenced by RNA_def_gpencil().
|
static |
Definition at line 1785 of file rna_gpencil.c.
References GP_FRAME_PAINT, GP_FRAME_SELECT, MAXFRAME, NC_GPENCIL, ND_DATA, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_INT, PROP_NONE, RNA_def_function(), RNA_def_function_ui_description(), rna_def_gpencil_strokes_api(), RNA_def_parameter_clear_flags(), RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_collection_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_int_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_sdna(), RNA_def_struct_ui_text(), and rna_enum_keyframe_type_items.
Referenced by RNA_def_gpencil().
|
static |
Definition at line 1833 of file rna_gpencil.c.
References FUNC_USE_REPORTS, MAXFRAME, MINAFRAME, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_NEVER_NULL, PROP_THICK_WRAP, RNA_def_boolean(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), 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_gpencil_layer().
|
static |
Definition at line 2363 of file rna_gpencil.c.
References GP_DEFAULT_GRID_LINES, NC_GPENCIL, ND_DATA, NULL, PROP_COLOR_GAMMA, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_TRANSLATION, PROP_XYZ, RNA_def_property(), RNA_def_property_array(), RNA_def_property_float_array_default(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_nested(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_gpencil_data().
|
static |
Definition at line 1945 of file rna_gpencil.c.
References GP_LAYER_DISABLE_MASKS_IN_VIEWLAYER, GP_LAYER_DRAWDEBUG, GP_LAYER_FRAMELOCK, GP_LAYER_HIDE, GP_LAYER_IS_RULER, GP_LAYER_LOCKED, GP_LAYER_NO_XRAY, GP_LAYER_ONIONSKIN, GP_LAYER_SELECT, GP_LAYER_SOLO_MODE, GP_LAYER_UNLOCK_COLOR, GP_LAYER_USE_LIGHTS, GP_LAYER_USE_MASK, NA_RENAME, NA_SELECTED, NC_GPENCIL, ND_DATA, NULL, parent_type_items, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR, PROP_COLOR_GAMMA, PROP_EDITABLE, PROP_ENUM, PROP_EULER, PROP_FACTOR, PROP_FLOAT, PROP_ID_SELF_CHECK, PROP_INT, PROP_MATRIX, PROP_NONE, PROP_PIXEL, PROP_POINTER, PROP_STRING, PROP_TRANSLATION, PROP_UNSIGNED, PROP_XYZ, PROPOVERRIDE_NO_COMPARISON, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_function(), RNA_def_function_ui_description(), rna_def_gpencil_frames_api(), rna_def_gpencil_layers_mask_api(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), 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_array_default(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_multi_array(), RNA_def_property_override_clear_flag(), 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_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_icon(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_layer_blend_modes_items, rna_matrix_dimsize_4x4, and RNA_TRANSLATION_PREC_DEFAULT.
Referenced by RNA_def_gpencil().
|
static |
Definition at line 1913 of file rna_gpencil.c.
References GP_MASK_HIDE, GP_MASK_INVERT, NA_RENAME, NC_GPENCIL, ND_DATA, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_NONE, PROP_STRING, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_string_funcs(), RNA_def_property_ui_icon(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_gpencil().
|
static |
Definition at line 2296 of file rna_gpencil.c.
References DummyRNA_DEFAULT_items, FUNC_USE_REPORTS, MAX_NAME, NA_SELECTED, NC_GPENCIL, ND_DATA, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_EDITABLE, PROP_ENUM, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_THICK_WRAP, PROP_UNSIGNED, RNA_def_boolean(), 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_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_int_funcs(), RNA_def_property_pointer_funcs(), RNA_def_property_srna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_gplayer_move_type_items.
Referenced by rna_def_gpencil_data().
|
static |
Definition at line 1877 of file rna_gpencil.c.
References FUNC_USE_REPORTS, NULL, PARM_REQUIRED, PARM_RNAPTR, PROP_ANIMATABLE, PROP_INT, PROP_NEVER_NULL, PROP_THICK_WRAP, PROP_UNSIGNED, RNA_def_function(), RNA_def_function_flag(), RNA_def_function_ui_description(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_int_funcs(), RNA_def_property_srna(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_gpencil_layer().
|
static |
Definition at line 1556 of file rna_gpencil.c.
References NC_GPENCIL, ND_DATA, NULL, PROP_EDITABLE, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), and RNA_def_struct_ui_text().
Referenced by RNA_def_gpencil().
|
static |
Definition at line 1581 of file rna_gpencil.c.
References GP_STROKE_2DIMAGE, GP_STROKE_2DSPACE, GP_STROKE_3DSPACE, GP_STROKE_CYCLIC, GP_STROKE_NOFILL, GP_STROKE_SELECT, NC_GPENCIL, ND_DATA, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_COLOR, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL, PROP_POINTER, PROP_XYZ, rna_def_gpencil_stroke_points_api(), RNA_def_parameter_clear_flags(), 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_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_default(), 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_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_gpencil_caps_modes_items.
Referenced by RNA_def_gpencil().
|
static |
Definition at line 1226 of file rna_gpencil.c.
References GP_SPOINT_SELECT, M_PI_2, NC_GPENCIL, ND_DATA, NULL, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLOR, PROP_FACTOR, PROP_FLOAT, PROP_NONE, PROP_XYZ, 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_float_sdna(), RNA_def_property_range(), 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_gpencil().
|
static |
Definition at line 1289 of file rna_gpencil.c.
References FUNC_USE_REPORTS, FUNC_USE_SELF_ID, NULL, PARM_REQUIRED, RNA_def_float(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_int(), RNA_def_parameter_flags(), RNA_def_property_srna(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_gpencil_stroke().
|
static |
Definition at line 1753 of file rna_gpencil.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_return(), RNA_def_function_ui_description(), 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_gpencil_frame().
|
static |
Definition at line 1385 of file rna_gpencil.c.
References NULL, PROP_EDITABLE, PROP_INT, PROP_NONE, RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_int_sdna(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_gpencil().
|
static |
Definition at line 33 of file rna_gpencil.c.
Referenced by rna_def_gpencil_layer(), and rna_def_maskParent().
|
static |
Definition at line 140 of file rna_gpencil.c.
Referenced by rna_def_gpencil_stroke().
|
static |
Definition at line 51 of file rna_gpencil.c.
Referenced by rna_def_gpencil_data().
|
static |
Definition at line 41 of file rna_gpencil.c.
Referenced by rna_def_gpencil_data().
|
static |
Definition at line 125 of file rna_gpencil.c.
Referenced by rna_def_gpencil_layers_api().
|
static |
Definition at line 66 of file rna_gpencil.c.
Referenced by rna_def_gpencil_frame().
|
static |
Definition at line 131 of file rna_gpencil.c.
Referenced by rna_def_gpencil_layer().
|
static |
Definition at line 95 of file rna_gpencil.c.
Referenced by rna_def_gpencil_data().