Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | GpRandomSettings |
struct | tGPDdraw |
struct | GP_SpaceConversion |
struct | tGPDprimitive |
struct | GP_EditableStrokes_Iter |
Macros | |
#define | DEPTH_INVALID 1.0f |
#define | GP_STROKE_BUFFER_CHUNK 2048 |
#define | GP_EDITABLE_STROKES_BEGIN(gpstroke_iter, C, gpl, gps) |
#define | GP_EDITABLE_STROKES_END(gpstroke_iter) |
#define | GP_EDITABLE_CURVES_BEGIN(gpstroke_iter, C, gpl, gps, gpc) |
#define | GP_EDITABLE_CURVES_END(gpstroke_iter) |
#define | GP_EVALUATED_STROKES_BEGIN(gpstroke_iter, C, gpl, gps) |
#define | GP_EVALUATED_STROKES_END(gpstroke_iter) |
Typedefs | |
typedef struct GpRandomSettings | GpRandomSettings |
typedef struct tGPDdraw | tGPDdraw |
typedef struct GP_SpaceConversion | GP_SpaceConversion |
typedef struct tGPDprimitive | tGPDprimitive |
typedef enum eGPencil_PaintModes | eGPencil_PaintModes |
Enumerations | |
enum | eGPencil_PaintModes { GP_PAINTMODE_DRAW = 0 , GP_PAINTMODE_ERASER , GP_PAINTMODE_DRAW_STRAIGHT , GP_PAINTMODE_DRAW_POLY , GP_PAINTMODE_SET_CP } |
enum | { GP_STROKE_JOIN = -1 , GP_STROKE_JOINCOPY = 1 } |
enum | { GP_STROKE_BOX = -1 , GP_STROKE_LINE = 1 , GP_STROKE_CIRCLE = 2 , GP_STROKE_ARC = 3 , GP_STROKE_CURVE = 4 , GP_STROKE_POLYLINE = 5 } |
enum | { GP_MERGE_STROKE = -1 , GP_MERGE_POINT = 1 } |
Variables | |
ListBase | gpencil_strokes_copypastebuf |
const EnumPropertyItem | rna_gpencil_reproject_type_items [] |
#define DEPTH_INVALID 1.0f |
Definition at line 14 of file gpencil_intern.h.
Iterate over all editable edit-curves in the current context, stopping on each usable layer + stroke + curve pair (i.e. gpl
, gps
and gpc
) to perform some operations on the curve.
gpl | The identifier to use for the layer of the stroke being processed. Choose a suitable value to avoid name clashes. |
gps | The identifier to use for current stroke being processed. Choose a suitable value to avoid name clashes. |
gpc | The identifier to use for current editcurve being processed. Choose a suitable value to avoid name clashes. |
Definition at line 740 of file gpencil_intern.h.
#define GP_EDITABLE_CURVES_END | ( | gpstroke_iter | ) |
Definition at line 766 of file gpencil_intern.h.
Iterate over all editable strokes in the current context, stopping on each usable layer + stroke pair (i.e. gpl and gps) to perform some operations on the stroke.
gpl | The identifier to use for the layer of the stroke being processed. Choose a suitable value to avoid name clashes. |
gps | The identifier to use for current stroke being processed. Choose a suitable value to avoid name clashes. |
Definition at line 688 of file gpencil_intern.h.
#define GP_EDITABLE_STROKES_END | ( | gpstroke_iter | ) |
Definition at line 716 of file gpencil_intern.h.
Iterate over all editable strokes using evaluated data in the current context, stopping on each usable layer + stroke pair (i.e. gpl and gps) to perform some operations on the stroke.
gpl | The identifier to use for the layer of the stroke being processed. Choose a suitable value to avoid name clashes. |
gps | The identifier to use for current stroke being processed. Choose a suitable value to avoid name clashes. |
Definition at line 788 of file gpencil_intern.h.
#define GP_EVALUATED_STROKES_END | ( | gpstroke_iter | ) |
Definition at line 817 of file gpencil_intern.h.
#define GP_STROKE_BUFFER_CHUNK 2048 |
Definition at line 461 of file gpencil_intern.h.
typedef enum eGPencil_PaintModes eGPencil_PaintModes |
typedef struct GP_SpaceConversion GP_SpaceConversion |
typedef struct GpRandomSettings GpRandomSettings |
Random settings by stroke
typedef struct tGPDprimitive tGPDprimitive |
anonymous enum |
Enumerator | |
---|---|
GP_STROKE_JOIN | |
GP_STROKE_JOINCOPY |
Definition at line 564 of file gpencil_intern.h.
anonymous enum |
Enumerator | |
---|---|
GP_STROKE_BOX | |
GP_STROKE_LINE | |
GP_STROKE_CIRCLE | |
GP_STROKE_ARC | |
GP_STROKE_CURVE | |
GP_STROKE_POLYLINE |
Definition at line 569 of file gpencil_intern.h.
anonymous enum |
Enumerator | |
---|---|
GP_MERGE_STROKE | |
GP_MERGE_POINT |
Definition at line 578 of file gpencil_intern.h.
enum eGPencil_PaintModes |
Enumerator | |
---|---|
GP_PAINTMODE_DRAW | |
GP_PAINTMODE_ERASER | |
GP_PAINTMODE_DRAW_STRAIGHT | |
GP_PAINTMODE_DRAW_POLY | |
GP_PAINTMODE_SET_CP |
Definition at line 452 of file gpencil_intern.h.
Wrapper to draw strokes for filling operator.
Definition at line 410 of file drawgpencil.c.
References gpencil_draw_strokes().
Referenced by gpencil_draw_datablock().
const struct EnumPropertyItem* ED_gpencil_layers_enum_itemf | ( | struct bContext * | C, |
struct PointerRNA * | ptr, | ||
struct PropertyRNA * | prop, | ||
bool * | r_free | ||
) |
Just existing layers.
const struct EnumPropertyItem* ED_gpencil_layers_with_new_enum_itemf | ( | struct bContext * | C, |
struct PointerRNA * | ptr, | ||
struct PropertyRNA * | prop, | ||
bool * | r_free | ||
) |
Existing + Option to add/use new layer.
Referenced by GPENCIL_OT_layer_change().
const struct EnumPropertyItem* ED_gpencil_material_enum_itemf | ( | struct bContext * | C, |
struct PointerRNA * | ptr, | ||
struct PropertyRNA * | prop, | ||
bool * | r_free | ||
) |
Just existing Materials.
Referenced by GPENCIL_OT_material_set().
Poll callback for checking if there is an active brush.
Definition at line 323 of file gpencil_utils.c.
References Paint::brush, C, CTX_data_tool_settings(), ToolSettings::gp_paint, NULL, and GpPaint::paint.
Poll callback for checking if there is an active layer.
Definition at line 311 of file gpencil_utils.c.
References BKE_gpencil_layer_active_get(), C, CTX_data_active_object(), Object::data, NULL, OB_GPENCIL, and Object::type.
Referenced by GPENCIL_OT_frame_clean_duplicate(), GPENCIL_OT_frame_clean_fill(), GPENCIL_OT_frame_clean_loose(), GPENCIL_OT_frame_duplicate(), GPENCIL_OT_hide(), GPENCIL_OT_layer_active(), GPENCIL_OT_layer_change(), GPENCIL_OT_layer_duplicate(), GPENCIL_OT_layer_isolate(), GPENCIL_OT_layer_mask_move(), GPENCIL_OT_layer_mask_remove(), GPENCIL_OT_layer_merge(), GPENCIL_OT_layer_move(), GPENCIL_OT_layer_remove(), GPENCIL_OT_lock_layer(), GPENCIL_OT_material_lock_unused(), GPENCIL_OT_recalc_geometry(), GPENCIL_OT_stroke_apply_thickness(), GPENCIL_OT_stroke_arrange(), GPENCIL_OT_stroke_caps_set(), GPENCIL_OT_stroke_change_color(), GPENCIL_OT_stroke_cyclical_set(), GPENCIL_OT_stroke_enter_editcurve_mode(), GPENCIL_OT_stroke_flip(), GPENCIL_OT_stroke_join(), GPENCIL_OT_stroke_simplify(), GPENCIL_OT_stroke_simplify_fixed(), GPENCIL_OT_stroke_subdivide(), and GPENCIL_OT_stroke_trim().
Poll callback for adding data/layers - special.
Definition at line 300 of file gpencil_utils.c.
References C, CTX_data_active_object(), Object::data, NULL, and return().
Referenced by GPENCIL_OT_blank_frame_add(), GPENCIL_OT_layer_add(), and GPENCIL_OT_layer_mask_add().
void gpencil_apply_parent | ( | struct Depsgraph * | depsgraph, |
struct Object * | obact, | ||
bGPDlayer * | gpl, | ||
bGPDstroke * | gps | ||
) |
Change points position relative to parent object Change position relative to parent object
Definition at line 625 of file gpencil_utils.c.
References BKE_gpencil_layer_transform_matrix_get(), copy_v3_v3(), depsgraph, invert_m4_m4(), mul_v3_m4v3(), bGPDstroke::points, bGPDstroke::totpoints, bGPDspoint::x, and zero_axis_bias_m4().
Referenced by gpencil_stroke_newfrombuffer().
void gpencil_apply_parent_point | ( | struct Depsgraph * | depsgraph, |
struct Object * | obact, | ||
bGPDlayer * | gpl, | ||
bGPDspoint * | pt | ||
) |
Change point position relative to parent object Change point position relative to parent object
Definition at line 646 of file gpencil_utils.c.
References BKE_gpencil_layer_transform_matrix_get(), copy_v3_v3(), depsgraph, invert_m4_m4(), mul_v3_m4v3(), bGPDspoint::x, and zero_axis_bias_m4().
Referenced by ED_gpencil_stroke_reproject(), gpencil_primitive_update_strokes(), gpencil_snap_to_cursor(), gpencil_snap_to_grid(), gpencil_stroke_from_buffer(), and gpencil_stroke_newfrombuffer().
Ensure that destination datablock has all the colors the pasted strokes need. Helper function for copy-pasting strokes
Definition at line 1448 of file gpencil_edit.c.
References BKE_gpencil_object_material_ensure(), BLI_ghash_haskey(), BLI_ghash_insert(), BLI_ghash_int_new(), BLI_ghash_lookup(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), C, CTX_data_active_object(), CTX_data_main(), GHASH_ITER, gpencil_strokes_copypastebuf_colors, gpencil_strokes_copypastebuf_colors_name_to_material_create(), gpencil_strokes_copypastebuf_colors_name_to_material_free(), and POINTER_FROM_INT.
Referenced by gpencil_brush_clone_init(), and gpencil_strokes_paste_exec().
int gpencil_delete_selected_point_wrap | ( | bContext * | C | ) |
Simple wrapper to external call.
Definition at line 2693 of file gpencil_edit.c.
References C, and gpencil_delete_selected_points().
Referenced by gpencil_generic_select_exec().
void GPENCIL_OT_active_frame_delete | ( | struct wmOperatorType * | ot | ) |
Definition at line 2108 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_actframe_delete_exec(), gpencil_actframe_delete_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_active_frames_delete_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 2185 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_actframe_delete_all_exec(), gpencil_actframe_delete_all_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_annotate | ( | struct wmOperatorType * | ot | ) |
Definition at line 2764 of file annotate_paint.c.
References annotation_draw_cancel(), annotation_draw_exec(), annotation_draw_invoke(), annotation_draw_modal(), annotation_draw_poll(), arrow_types, wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_gpencil_drawmodes, PROP_HIDDEN, PROP_PIXEL, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_subtype(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_annotation_active_frame_delete | ( | struct wmOperatorType * | ot | ) |
Definition at line 2122 of file gpencil_edit.c.
References annotation_actframe_delete_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_actframe_delete_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_annotation_add | ( | struct wmOperatorType * | ot | ) |
Definition at line 124 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_data_add_exec(), gpencil_data_add_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_bake_grease_pencil_animation | ( | struct wmOperatorType * | ot | ) |
Definition at line 397 of file gpencil_bake_animation.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_REPROJECT_KEEP, gpencil_bake_grease_pencil_animation_exec(), gpencil_bake_grease_pencil_animation_invoke(), gpencil_bake_grease_pencil_animation_poll(), gpencil_bake_set_frame_end(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), RNA_def_int(), RNA_def_property_update_runtime(), rna_gpencil_reproject_type_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_bake_mesh_animation | ( | struct wmOperatorType * | ot | ) |
Definition at line 390 of file gpencil_mesh.cc.
References DEG2RADF, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_REPROJECT_VIEW, GP_TARGET_OB_NEW, GP_TARGET_OB_SELECTED, gpencil_bake_mesh_animation_exec(), gpencil_bake_mesh_animation_invoke(), gpencil_bake_mesh_animation_poll(), gpencil_bake_set_frame_end(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_distance(), RNA_def_float_rotation(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_update_runtime(), rna_gpencil_reproject_type_items, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_blank_frame_add | ( | struct wmOperatorType * | ot | ) |
Definition at line 2024 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_add_poll(), gpencil_blank_frame_add_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_brush_reset | ( | struct wmOperatorType * | ot | ) |
Definition at line 1982 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_brush_reset_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_brush_reset_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 2192 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_brush_reset_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_convert | ( | struct wmOperatorType * | ot | ) |
Definition at line 1636 of file gpencil_convert.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_STROKECONVERT_TIMING_FULL, gpencil_convert_layer_exec(), gpencil_convert_poll(), gpencil_convert_poll_property(), gpencil_convert_set_end_frame(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, prop_gpencil_convert_timingmodes, prop_gpencil_convertmodes, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float(), RNA_def_float_distance(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_update_runtime(), rna_GPConvert_mode_items(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_convert_old_files | ( | struct wmOperatorType * | ot | ) |
Definition at line 180 of file gpencil_ops_versioning.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_convert_old_files_exec(), gpencil_convert_old_files_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_copy | ( | struct wmOperatorType * | ot | ) |
Definition at line 1589 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, gpencil_stroke_edit_poll(), gpencil_strokes_copy_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_data_unlink | ( | struct wmOperatorType * | ot | ) |
Definition at line 176 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_data_unlink_exec(), gpencil_data_unlink_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_delete | ( | struct wmOperatorType * | ot | ) |
Definition at line 2726 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_DELETEOP_FRAME, GP_DELETEOP_POINTS, GP_DELETEOP_STROKES, gpencil_delete_exec(), gpencil_stroke_edit_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_dissolve | ( | struct wmOperatorType * | ot | ) |
Definition at line 2774 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_DISSOLVE_BETWEEN, GP_DISSOLVE_POINTS, GP_DISSOLVE_UNSELECT, gpencil_dissolve_exec(), gpencil_stroke_edit_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_draw | ( | struct wmOperatorType * | ot | ) |
Definition at line 3877 of file gpencil_paint.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_draw_cancel(), gpencil_draw_exec(), gpencil_draw_invoke(), gpencil_draw_modal(), gpencil_draw_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_gpencil_drawmodes, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_enum(), RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_duplicate | ( | struct wmOperatorType * | ot | ) |
Definition at line 1006 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_duplicate_exec(), gpencil_stroke_edit_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_editmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 231 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_editmode_toggle_exec(), gpencil_editmode_toggle_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_extract_palette_vertex | ( | struct wmOperatorType * | ot | ) |
Definition at line 1020 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_extract_palette_vertex_exec(), gpencil_extract_palette_vertex_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_extrude | ( | struct wmOperatorType * | ot | ) |
Definition at line 1345 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_extrude_exec(), gpencil_stroke_edit_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_fill | ( | struct wmOperatorType * | ot | ) |
Definition at line 2359 of file gpencil_fill.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, gpencil_fill_cancel(), gpencil_fill_invoke(), gpencil_fill_modal(), gpencil_fill_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_frame_clean_duplicate | ( | struct wmOperatorType * | ot | ) |
Definition at line 994 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_frame_clean_duplicate_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_frame_clean_fill | ( | struct wmOperatorType * | ot | ) |
Definition at line 762 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_FRAME_CLEAN_FILL_ACTIVE, GP_FRAME_CLEAN_FILL_ALL, GP_FRAME_DUP_ACTIVE, gpencil_active_layer_poll(), gpencil_frame_clean_fill_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_frame_clean_loose | ( | struct wmOperatorType * | ot | ) |
Definition at line 844 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_frame_clean_loose_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_frame_duplicate | ( | struct wmOperatorType * | ot | ) |
Definition at line 677 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_FRAME_DUP_ACTIVE, GP_FRAME_DUP_ALL, gpencil_active_layer_poll(), gpencil_frame_duplicate_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_generate_weights | ( | struct wmOperatorType * | ot | ) |
Definition at line 642 of file gpencil_armature.c.
References DEFAULT_DECAY, DEFAULT_RATIO, wmOperatorType::description, DummyRNA_DEFAULT_items, wmOperatorType::exec, wmOperatorType::flag, GP_ARMATURE_AUTO, GP_ARMATURE_NAME, gpencil_armatures_enum_itemf(), gpencil_generate_weights_exec(), gpencil_generate_weights_poll(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_guide_rotate | ( | struct wmOperatorType * | ot | ) |
Definition at line 3958 of file gpencil_paint.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_guide_rotate(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_hide | ( | struct wmOperatorType * | ot | ) |
Definition at line 1054 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_hide_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_image_to_grease_pencil | ( | struct wmOperatorType * | ot | ) |
Definition at line 1830 of file gpencil_convert.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_to_gpencil_exec(), image_to_gpencil_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_interpolate | ( | struct wmOperatorType * | ot | ) |
Definition at line 926 of file gpencil_interpolate.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, GP_INTERPOLATE_FLIP, GP_INTERPOLATE_FLIPAUTO, GP_INTERPOLATE_NOFLIP, gpencil_interpolate_cancel(), gpencil_interpolate_invoke(), gpencil_interpolate_modal(), gpencil_view3d_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_factor(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_interpolate_reverse | ( | struct wmOperatorType * | ot | ) |
Definition at line 1800 of file gpencil_interpolate.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_interpolate_reverse_exec(), gpencil_interpolate_reverse_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_interpolate_sequence | ( | struct wmOperatorType * | ot | ) |
Definition at line 1479 of file gpencil_interpolate.c.
References BEZT_IPO_EASE_AUTO, BEZT_IPO_EASE_IN, BEZT_IPO_EASE_IN_OUT, BEZT_IPO_EASE_OUT, BLT_I18NCONTEXT_ID_GPENCIL, CTX_N_, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_INTERPOLATE_FLIP, GP_INTERPOLATE_FLIPAUTO, GP_INTERPOLATE_NOFLIP, GP_IPO_BACK, GP_IPO_BOUNCE, GP_IPO_CIRC, GP_IPO_CUBIC, GP_IPO_CURVEMAP, GP_IPO_ELASTIC, GP_IPO_EXPO, GP_IPO_LINEAR, GP_IPO_QUAD, GP_IPO_QUART, GP_IPO_QUINT, GP_IPO_SINE, gpencil_interpolate_seq_exec(), gpencil_interpolate_seq_ui(), gpencil_view3d_poll(), wmOperatorType::idname, MAXFRAME, N_, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_int(), RNA_def_property_translation_context(), RNA_ENUM_ITEM_HEADING, wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_active | ( | struct wmOperatorType * | ot | ) |
Definition at line 1547 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_layer_active_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_add | ( | struct wmOperatorType * | ot | ) |
Definition at line 245 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_add_poll(), gpencil_layer_add_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_annotation_add | ( | struct wmOperatorType * | ot | ) |
Definition at line 264 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_add_annotation_poll(), gpencil_layer_add_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_annotation_move | ( | struct wmOperatorType * | ot | ) |
Definition at line 425 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_LAYER_MOVE_DOWN, GP_LAYER_MOVE_UP, gpencil_active_layer_annotation_poll(), gpencil_layer_move_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_annotation_remove | ( | struct wmOperatorType * | ot | ) |
Definition at line 355 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_annotation_poll(), gpencil_layer_remove_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_change | ( | struct wmOperatorType * | ot | ) |
Definition at line 1501 of file gpencil_data.c.
References wmOperatorType::description, DummyRNA_DEFAULT_items, ED_gpencil_layers_with_new_enum_itemf(), wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_layer_change_exec(), gpencil_layer_change_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_duplicate | ( | struct wmOperatorType * | ot | ) |
Definition at line 492 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_LAYER_DUPLICATE_ALL, GP_LAYER_DUPLICATE_EMPTY, gpencil_active_layer_poll(), gpencil_layer_copy_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_duplicate_object | ( | struct wmOperatorType * | ot | ) |
Definition at line 609 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_LAYER_COPY_OBJECT_ACT_FRAME, GP_LAYER_COPY_OBJECT_ALL_FRAME, gpencil_layer_duplicate_object_exec(), gpencil_layer_duplicate_object_poll(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_isolate | ( | struct wmOperatorType * | ot | ) |
Definition at line 1296 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_isolate_layer_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_mask_add | ( | struct wmOperatorType * | ot | ) |
Definition at line 3797 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_add_poll(), gpencil_layer_mask_add_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_mask_move | ( | struct wmOperatorType * | ot | ) |
Definition at line 3885 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_LAYER_MOVE_DOWN, GP_LAYER_MOVE_UP, gpencil_active_layer_poll(), gpencil_layer_mask_move_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_mask_remove | ( | struct wmOperatorType * | ot | ) |
Definition at line 3846 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_layer_mask_remove_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_merge | ( | struct wmOperatorType * | ot | ) |
Definition at line 1425 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_LAYER_MERGE_ACTIVE, GP_LAYER_MERGE_ALL, gpencil_active_layer_poll(), gpencil_merge_layer_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_move | ( | struct wmOperatorType * | ot | ) |
Definition at line 402 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_LAYER_MOVE_DOWN, GP_LAYER_MOVE_UP, gpencil_active_layer_poll(), gpencil_layer_move_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_layer_remove | ( | struct wmOperatorType * | ot | ) |
Definition at line 333 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_layer_remove_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_lock_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 1183 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_lock_all_exec(), gpencil_reveal_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_lock_layer | ( | struct wmOperatorType * | ot | ) |
Definition at line 3106 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, gpencil_active_layer_poll(), gpencil_lock_layer_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_hide | ( | struct wmOperatorType * | ot | ) |
Definition at line 3271 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_hide_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_isolate | ( | struct wmOperatorType * | ot | ) |
Definition at line 3200 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_isolate_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_lock_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 3380 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_lock_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_lock_unused | ( | struct wmOperatorType * | ot | ) |
Definition at line 1913 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_material_lock_unsused_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_reveal | ( | struct wmOperatorType * | ot | ) |
Definition at line 3327 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_reveal_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_select | ( | struct wmOperatorType * | ot | ) |
Definition at line 3522 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_select_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_set | ( | struct wmOperatorType * | ot | ) |
Definition at line 3564 of file gpencil_data.c.
References wmOperatorType::description, DummyRNA_DEFAULT_items, ED_gpencil_material_enum_itemf(), wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_set_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_to_vertex_color | ( | struct wmOperatorType * | ot | ) |
Definition at line 968 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_material_to_vertex_exec(), gpencil_material_to_vertex_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_material_unlock_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 3433 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_material_unlock_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_materials_copy_to_object | ( | struct wmOperatorType * | ot | ) |
Definition at line 3680 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_materials_copy_to_object_exec(), gpencil_materials_copy_to_object_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_move_to_layer | ( | struct wmOperatorType * | ot | ) |
Definition at line 1944 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_move_to_layer_exec(), gpencil_move_to_layer_invoke(), gpencil_stroke_edit_poll(), wmOperatorType::idname, wmOperatorType::invoke, MAX_NAME, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_paintmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 428 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_paintmode_toggle_exec(), gpencil_paintmode_toggle_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_paste | ( | struct wmOperatorType * | ot | ) |
Definition at line 1765 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_COPY_BY_LAYER, GP_COPY_TO_ACTIVE, gpencil_strokes_paste_exec(), gpencil_strokes_paste_poll(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_primitive_box | ( | struct wmOperatorType * | ot | ) |
Definition at line 2036 of file gpencil_primitive.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, GP_STROKE_BOX, gpencil_primitive_add_poll(), gpencil_primitive_cancel(), gpencil_primitive_common_props(), gpencil_primitive_invoke(), gpencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_primitive_circle | ( | struct wmOperatorType * | ot | ) |
Definition at line 2096 of file gpencil_primitive.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, GP_STROKE_CIRCLE, gpencil_primitive_add_poll(), gpencil_primitive_cancel(), gpencil_primitive_common_props(), gpencil_primitive_invoke(), gpencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_primitive_curve | ( | struct wmOperatorType * | ot | ) |
Definition at line 2116 of file gpencil_primitive.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, GP_STROKE_CURVE, gpencil_primitive_add_poll(), gpencil_primitive_cancel(), gpencil_primitive_common_props(), gpencil_primitive_invoke(), gpencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_primitive_line | ( | struct wmOperatorType * | ot | ) |
Definition at line 2056 of file gpencil_primitive.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, GP_STROKE_LINE, gpencil_primitive_add_poll(), gpencil_primitive_cancel(), gpencil_primitive_common_props(), gpencil_primitive_invoke(), gpencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_primitive_polyline | ( | struct wmOperatorType * | ot | ) |
Definition at line 2076 of file gpencil_primitive.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, GP_STROKE_POLYLINE, gpencil_primitive_add_poll(), gpencil_primitive_cancel(), gpencil_primitive_common_props(), gpencil_primitive_invoke(), gpencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_recalc_geometry | ( | struct wmOperatorType * | ot | ) |
Definition at line 3971 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_recalc_geometry_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_reproject | ( | struct wmOperatorType * | ot | ) |
Definition at line 3894 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_REPROJECT_CURSOR, GP_REPROJECT_FRONT, GP_REPROJECT_SIDE, GP_REPROJECT_SURFACE, GP_REPROJECT_TOP, GP_REPROJECT_VIEW, gpencil_strokes_edit3d_poll(), gpencil_strokes_reproject_exec(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_reset_transform_fill | ( | struct wmOperatorType * | ot | ) |
Definition at line 516 of file gpencil_uv.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_UV_ALL, GP_UV_ROTATE, GP_UV_SCALE, GP_UV_TRANSLATE, gpencil_reset_transform_fill_exec(), gpencil_transform_fill_poll(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_reveal | ( | struct wmOperatorType * | ot | ) |
Definition at line 1142 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_reveal_exec(), gpencil_reveal_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_sculpt_paint | ( | struct wmOperatorType * | ot | ) |
Also used for weight paint.
Definition at line 2332 of file gpencil_sculpt_paint.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_sculpt_brush_exec(), gpencil_sculpt_brush_exit(), gpencil_sculpt_brush_invoke(), gpencil_sculpt_brush_modal(), gpencil_sculpt_brush_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_sculptmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 541 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_sculptmode_toggle_exec(), gpencil_sculptmode_toggle_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select | ( | struct wmOperatorType * | ot | ) |
Definition at line 2672 of file gpencil_select.c.
References wmOperatorType::description, ED_select_pick_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, gpencil_select_exec(), gpencil_select_invoke(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int_vector(), RNA_def_property_flag(), wmOperatorType::srna, and WM_operator_properties_mouse_select().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 293 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_all_exec(), gpencil_select_all_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_alternate | ( | struct wmOperatorType * | ot | ) |
Definition at line 499 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_alternate_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_box | ( | struct wmOperatorType * | ot | ) |
Definition at line 2259 of file gpencil_select.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_box_select_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_circle | ( | struct wmOperatorType * | ot | ) |
Definition at line 1768 of file gpencil_select.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_circle_select_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_gesture_circle_cancel(), WM_gesture_circle_invoke(), WM_gesture_circle_modal(), WM_operator_properties_gesture_circle(), and WM_operator_properties_select_operation_simple().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_first | ( | struct wmOperatorType * | ot | ) |
Definition at line 1038 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_first_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_grouped | ( | struct wmOperatorType * | ot | ) |
Definition at line 930 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_SEL_SAME_LAYER, GP_SEL_SAME_MATERIAL, gpencil_select_grouped_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_select_grouped_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_lasso | ( | struct wmOperatorType * | ot | ) |
Definition at line 2324 of file gpencil_select.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_lasso_select_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), WM_operator_properties_gesture_lasso(), and WM_operator_properties_select_operation().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_last | ( | struct wmOperatorType * | ot | ) |
Definition at line 1148 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_last_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_less | ( | struct wmOperatorType * | ot | ) |
Definition at line 1446 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_less_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_linked | ( | struct wmOperatorType * | ot | ) |
Definition at line 371 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_linked_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_more | ( | struct wmOperatorType * | ot | ) |
Definition at line 1300 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_more_exec(), gpencil_select_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_random | ( | struct wmOperatorType * | ot | ) |
Definition at line 710 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_poll(), gpencil_select_random_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and WM_operator_properties_select_random().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_select_vertex_color | ( | struct wmOperatorType * | ot | ) |
Definition at line 2863 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_select_vertex_color_exec(), gpencil_select_vertex_color_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_selection_opacity_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 810 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_hideselect_toggle_exec(), gpencil_stroke_edit_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_selectmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 313 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_selectmode_toggle_exec(), gpencil_selectmode_toggle_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_set_active_material | ( | struct wmOperatorType * | ot | ) |
Definition at line 3616 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_material_poll(), gpencil_set_active_material_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_snap_cursor_to_selected | ( | struct wmOperatorType * | ot | ) |
Definition at line 3169 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_snap_cursor_to_sel(), gpencil_snap_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_snap_to_cursor | ( | struct wmOperatorType * | ot | ) |
Definition at line 3040 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_snap_poll(), gpencil_snap_to_cursor(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_snap_to_grid | ( | struct wmOperatorType * | ot | ) |
Definition at line 2938 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_snap_poll(), gpencil_snap_to_grid(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_apply_thickness | ( | struct wmOperatorType * | ot | ) |
Definition at line 3224 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, gpencil_active_layer_poll(), gpencil_stroke_apply_thickness_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_arrange | ( | struct wmOperatorType * | ot | ) |
Definition at line 1726 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_STROKE_MOVE_BOTTOM, GP_STROKE_MOVE_DOWN, GP_STROKE_MOVE_TOP, GP_STROKE_MOVE_UP, gpencil_active_layer_poll(), gpencil_stroke_arrange_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_caps_set | ( | struct wmOperatorType * | ot | ) |
Change Stroke caps mode Rounded or Flat
Definition at line 3480 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_STROKE_CAPS_TOGGLE_BOTH, GP_STROKE_CAPS_TOGGLE_DEFAULT, GP_STROKE_CAPS_TOGGLE_END, GP_STROKE_CAPS_TOGGLE_START, gpencil_active_layer_poll(), gpencil_stroke_caps_set_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_change_color | ( | struct wmOperatorType * | ot | ) |
Definition at line 1834 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_change_color_exec(), wmOperatorType::idname, MAX_ID_NAME, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_cutter | ( | struct wmOperatorType * | ot | ) |
Definition at line 5325 of file gpencil_edit.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_cutter_exec(), gpencil_cutter_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), and WM_operator_properties_gesture_lasso().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_cyclical_set | ( | struct wmOperatorType * | ot | ) |
Similar to CURVE_OT_cyclic_toggle or MASK_OT_cyclic_toggle, but with option to force opened/closed strokes instead of just toggle behavior.
Definition at line 3357 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_STROKE_CYCLIC_CLOSE, GP_STROKE_CYCLIC_OPEN, GP_STROKE_CYCLIC_TOGGLE, gpencil_active_layer_poll(), gpencil_cyclical_set_curve_edit_poll_property(), gpencil_stroke_cyclical_set_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_editcurve_set_handle_type | ( | struct wmOperatorType * | ot | ) |
Definition at line 178 of file gpencil_edit_curve.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_curve_edit_mode_poll(), gpencil_editcurve_set_handle_type_exec(), HD_ALIGN, HD_AUTO, HD_FREE, HD_VECT, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_enter_editcurve_mode | ( | struct wmOperatorType * | ot | ) |
Definition at line 97 of file gpencil_edit_curve.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_enter_editcurve_mode_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_property_ui_range(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_flip | ( | struct wmOperatorType * | ot | ) |
Definition at line 3784 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_flip_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_join | ( | struct wmOperatorType * | ot | ) |
Definition at line 3687 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_STROKE_JOIN, GP_STROKE_JOINCOPY, gpencil_active_layer_poll(), gpencil_stroke_join_exec(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_merge | ( | struct wmOperatorType * | ot | ) |
Definition at line 524 of file gpencil_merge.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_MERGE_POINT, GP_MERGE_STROKE, gpencil_stroke_merge_exec(), gpencil_strokes_merge_poll(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_merge_by_distance | ( | struct wmOperatorType * | ot | ) |
Definition at line 5424 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_merge_by_distance_exec(), gpencil_merge_by_distance_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_merge_material | ( | struct wmOperatorType * | ot | ) |
Definition at line 596 of file gpencil_merge.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_stroke_merge_material_exec(), gpencil_stroke_merge_material_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_normalize | ( | struct wmOperatorType * | ot | ) |
Definition at line 5593 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_NORMALIZE_OPACITY, GP_NORMALIZE_THICKNESS, gpencil_stroke_normalize_exec(), gpencil_stroke_normalize_poll(), gpencil_stroke_normalize_ui(), wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), RNA_def_int(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_reset_vertex_color | ( | struct wmOperatorType * | ot | ) |
Definition at line 1124 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_stroke_reset_vertex_color_exec(), gpencil_vertexpaint_mode_poll(), GPPAINT_MODE_BOTH, GPPAINT_MODE_FILL, GPPAINT_MODE_STROKE, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_sample | ( | struct wmOperatorType * | ot | ) |
Definition at line 4476 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_stroke_not_in_curve_edit_mode(), gpencil_stroke_sample_exec(), wmOperatorType::idname, M_PI, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_separate | ( | struct wmOperatorType * | ot | ) |
Definition at line 4851 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_SEPARATE_LAYER, GP_SEPARATE_POINT, GP_SEPARATE_STROKE, gpencil_stroke_separate_exec(), gpencil_strokes_edit3d_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_simplify | ( | struct wmOperatorType * | ot | ) |
Definition at line 4365 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_simplify_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_simplify_fixed | ( | struct wmOperatorType * | ot | ) |
Definition at line 4426 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_simplify_fixed_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_smooth | ( | struct wmOperatorType * | ot | ) |
Definition at line 5011 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_stroke_not_in_curve_edit_mode(), gpencil_stroke_smooth_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_split | ( | struct wmOperatorType * | ot | ) |
Definition at line 4972 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_stroke_split_exec(), gpencil_strokes_edit3d_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_subdivide | ( | struct wmOperatorType * | ot | ) |
Definition at line 4287 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_subdivide_exec(), gpencil_subdivide_curve_edit_poll_property(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_stroke_trim | ( | struct wmOperatorType * | ot | ) |
Definition at line 4561 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_stroke_trim_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_trace_image | ( | struct wmOperatorType * | ot | ) |
Definition at line 372 of file gpencil_trace_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_TARGET_OB_NEW, GP_TARGET_OB_SELECTED, gpencil_trace_image_exec(), gpencil_trace_image_invoke(), gpencil_trace_image_poll(), GPENCIL_TRACE_MODE_SEQUENCE, GPENCIL_TRACE_MODE_SINGLE, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_factor(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_transform_fill | ( | struct wmOperatorType * | ot | ) |
Definition at line 427 of file gpencil_uv.c.
References wmOperatorType::cancel, DEG2RADF, wmOperatorType::description, wmOperatorType::flag, GP_UV_ROTATE, GP_UV_SCALE, GP_UV_TRANSLATE, gpencil_transform_fill_cancel(), gpencil_transform_fill_invoke(), gpencil_transform_fill_modal(), gpencil_transform_fill_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_rotation(), RNA_def_float_vector(), RNA_def_property_flag(), RNA_def_property_float_default(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_unlock_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 1222 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_reveal_poll(), gpencil_unlock_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_color_brightness_contrast | ( | struct wmOperatorType * | ot | ) |
Definition at line 209 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_modesEnumPropertyItem_mode, gpencil_vertexpaint_brightness_contrast_exec(), gpencil_vertexpaint_mode_poll(), GPPAINT_MODE_BOTH, wmOperatorType::idname, max, min, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), RNA_def_property_ui_range(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_color_hsv | ( | struct wmOperatorType * | ot | ) |
Definition at line 331 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_modesEnumPropertyItem_mode, gpencil_vertexpaint_hsv_exec(), gpencil_vertexpaint_mode_poll(), GPPAINT_MODE_BOTH, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_color_invert | ( | struct wmOperatorType * | ot | ) |
Definition at line 424 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_modesEnumPropertyItem_mode, gpencil_vertexpaint_invert_exec(), gpencil_vertexpaint_mode_poll(), GPPAINT_MODE_BOTH, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_color_levels | ( | struct wmOperatorType * | ot | ) |
Definition at line 515 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_modesEnumPropertyItem_mode, gpencil_vertexpaint_levels_exec(), gpencil_vertexpaint_mode_poll(), GPPAINT_MODE_BOTH, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_color_set | ( | struct wmOperatorType * | ot | ) |
Definition at line 614 of file gpencil_vertex_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_modesEnumPropertyItem_mode, gpencil_vertexpaint_mode_poll(), gpencil_vertexpaint_set_exec(), GPPAINT_MODE_BOTH, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_assign | ( | struct wmOperatorType * | ot | ) |
Definition at line 2264 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_assign_exec(), gpencil_vertex_group_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_deselect | ( | struct wmOperatorType * | ot | ) |
Definition at line 2367 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_deselect_exec(), gpencil_vertex_group_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_invert | ( | struct wmOperatorType * | ot | ) |
Definition at line 2435 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_invert_exec(), gpencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_normalize | ( | struct wmOperatorType * | ot | ) |
Definition at line 2610 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_normalize_exec(), gpencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_normalize_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 2715 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_normalize_all_exec(), gpencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_remove_from | ( | struct wmOperatorType * | ot | ) |
Definition at line 2299 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_poll(), gpencil_vertex_group_remove_from_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_select | ( | struct wmOperatorType * | ot | ) |
Definition at line 2333 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_poll(), gpencil_vertex_group_select_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_group_smooth | ( | struct wmOperatorType * | ot | ) |
Definition at line 2532 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertex_group_smooth_exec(), gpencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertex_paint | ( | struct wmOperatorType * | ot | ) |
Definition at line 1429 of file gpencil_vertex_paint.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertexpaint_brush_exec(), gpencil_vertexpaint_brush_exit(), gpencil_vertexpaint_brush_invoke(), gpencil_vertexpaint_brush_modal(), gpencil_vertexpaint_brush_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_vertexmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 760 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_vertexmode_toggle_exec(), gpencil_vertexmode_toggle_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_weight_paint | ( | struct wmOperatorType * | ot | ) |
Definition at line 886 of file gpencil_weight_paint.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_weightpaint_brush_exec(), gpencil_weightpaint_brush_exit(), gpencil_weightpaint_brush_invoke(), gpencil_weightpaint_brush_modal(), gpencil_weightpaint_brush_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void GPENCIL_OT_weightmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 649 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_weightmode_toggle_exec(), gpencil_weightmode_toggle_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
void gpencil_point_3d_to_xy | ( | const GP_SpaceConversion * | gsc, |
short | flag, | ||
const float | pt[3], | ||
float | xy[2] | ||
) |
generic based on gpencil_point_to_xy_fl
Definition at line 764 of file gpencil_utils.c.
References GP_SpaceConversion::area, BLI_assert, BLI_rctf_size_x(), BLI_rctf_size_y(), ED_view3d_project_float_global(), float(), GP_STROKE_2DSPACE, GP_STROKE_3DSPACE, GP_SpaceConversion::mat, mul_m4_v3(), NULL, GP_SpaceConversion::region, SPACE_VIEW3D, ScrArea::spacetype, GP_SpaceConversion::subrect, UI_view2d_view_to_region_clip(), GP_SpaceConversion::v2d, V2D_IS_CLIPPED, V3D_PROJ_RET_OK, V3D_PROJ_TEST_NOP, ARegion::winx, ARegion::winy, rctf::xmin, xy, and rctf::ymin.
Referenced by gpencil_origin_get(), gpencil_sculpt_rotation_eval_get(), and gpencil_uv_transform_init().
void gpencil_point_conversion_init | ( | struct bContext * | C, |
GP_SpaceConversion * | r_gsc | ||
) |
Init settings for stroke point space conversions
r_gsc | [out] The space conversion settings struct, populated with necessary params |
Definition at line 575 of file gpencil_utils.c.
References blender::compositor::area(), GP_SpaceConversion::area, C, CTX_data_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), CTX_wm_space_data(), CTX_wm_window(), depsgraph, ED_view3d_calc_camera_border(), ED_view3d_depth_override(), GP_SpaceConversion::mat, NULL, GP_SpaceConversion::ob, RegionView3D::persp, GP_SpaceConversion::region, ARegion::regiondata, RV3D_CAMOB, scene, GP_SpaceConversion::scene, SPACE_VIEW3D, GP_SpaceConversion::subrect, GP_SpaceConversion::subrect_data, unit_m4(), GP_SpaceConversion::v2d, ARegion::v2d, V3D_DEPTH_NO_GPENCIL, view3d_operator_needs_opengl(), and view3d_region_operator_needs_opengl().
Referenced by ED_gpencil_project_stroke_to_view(), gpencil_bake_grease_pencil_animation_exec(), gpencil_circle_select_exec(), gpencil_cutter_lasso_select(), gpencil_generic_stroke_select(), gpencil_interpolate_seq_exec(), gpencil_interpolate_set_init_values(), gpencil_primitive_init(), gpencil_sculpt_brush_init(), gpencil_select_exec(), gpencil_session_init_fill(), gpencil_strokes_reproject_exec(), gpencil_uv_transform_init(), gpencil_vertexpaint_brush_init(), and gpencil_weightpaint_brush_init().
void gpencil_point_to_parent_space | ( | const bGPDspoint * | pt, |
const float | diff_mat[4][4], | ||
bGPDspoint * | r_pt | ||
) |
Convert point to parent space
pt | Original point | |
diff_mat | Matrix with the difference between original parent matrix | |
[out] | r_pt | Pointer to new point after apply matrix |
Definition at line 615 of file gpencil_utils.c.
References copy_v3_v3(), mul_v3_m4v3(), and bGPDspoint::x.
Referenced by ED_gpencil_project_stroke_to_view(), ED_gpencil_projected_2d_bound_box(), ED_gpencil_stroke_extremes_to2d(), ED_gpencil_stroke_nearest_to_ends(), ED_gpencil_stroke_point_is_inside(), ED_gpencil_stroke_reproject(), get_automasking_strokes_list(), gpencil_select_exec(), gpencil_stroke_do_circle_sel(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_need_flip(), gpencil_test_lasso(), gpencil_vertexpaint_select_stroke(), and gpencil_weightpaint_select_stroke().
void gpencil_point_to_xy | ( | const GP_SpaceConversion * | gsc, |
const struct bGPDstroke * | gps, | ||
const struct bGPDspoint * | pt, | ||
int * | r_x, | ||
int * | r_y | ||
) |
Convert a Grease Pencil coordinate (i.e. can be 2D or 3D) to screen-space (2D)
[out] | r_x | The screen-space x-coordinate of the point |
[out] | r_y | The screen-space y-coordinate of the point |
Referenced by annotation_stroke_eraser_dostroke(), get_automasking_strokes_list(), gpencil_brush_clone_adjust(), gpencil_select_exec(), gpencil_stroke_do_circle_sel(), gpencil_stroke_eraser_dostroke(), gpencil_test_lasso(), gpencil_vertexpaint_select_stroke(), and gpencil_weightpaint_select_stroke().
void gpencil_point_to_xy_fl | ( | const GP_SpaceConversion * | gsc, |
const bGPDstroke * | gps, | ||
const bGPDspoint * | pt, | ||
float * | r_x, | ||
float * | r_y | ||
) |
Convert a Grease Pencil coordinate (i.e. can be 2D or 3D) to screen-space (2D).
Just like gpencil_point_to_xy(), except the resulting coordinates are floats not ints. Use this version to solve "stair-step" artifacts which may arise when round-tripping the calculations.
r_x | The screen-space x-coordinate of the point. |
r_y | The screen-space y-coordinate of the point. |
Definition at line 707 of file gpencil_utils.c.
References GP_SpaceConversion::area, BLI_assert, BLI_rctf_size_x(), BLI_rctf_size_y(), ED_view3d_project_float_global(), bGPDstroke::flag, float(), GP_STROKE_2DSPACE, GP_STROKE_3DSPACE, GP_SpaceConversion::mat, mul_m4_v3(), NULL, GP_SpaceConversion::region, SPACE_VIEW3D, ScrArea::spacetype, GP_SpaceConversion::subrect, UI_view2d_view_to_region_clip(), GP_SpaceConversion::v2d, V2D_IS_CLIPPED, V3D_PROJ_RET_OK, V3D_PROJ_TEST_NOP, ARegion::winx, ARegion::winy, bGPDspoint::x, rctf::xmin, bGPDspoint::y, and rctf::ymin.
Referenced by ED_gpencil_project_stroke_to_view(), ED_gpencil_projected_2d_bound_box(), ED_gpencil_stroke_extremes_to2d(), ED_gpencil_stroke_nearest_to_ends(), ED_gpencil_stroke_reproject(), and gpencil_stroke_need_flip().
bool gpencil_point_xy_to_3d | ( | const GP_SpaceConversion * | gsc, |
struct Scene * | scene, | ||
const float | screen_co[2], | ||
float | r_out[3] | ||
) |
Project screen-space coordinates to 3D-space
For use with editing tools where it is easier to perform the operations in 2D, and then later convert the transformed points back to 3D.
screen_co | The screen-space 2D coordinates to convert to |
r_out | The resulting 3D coordinates of the input point |
Definition at line 818 of file gpencil_utils.c.
References ED_gpencil_drawing_reference_get(), ED_view3d_calc_zfac(), ED_view3d_project_float_global(), ED_view3d_win_to_delta(), ToolSettings::gpencil_v3d_align, GP_SpaceConversion::ob, GP_SpaceConversion::region, ARegion::regiondata, scene, sub_v2_v2v2(), sub_v3_v3v3(), Scene::toolsettings, V3D_PROJ_RET_OK, V3D_PROJ_TEST_NOP, and zero_v3().
Referenced by ED_gpencil_project_stroke_to_view(), and ED_gpencil_stroke_reproject().
void gpencil_stroke_convertcoords_tpoint | ( | struct Scene * | scene, |
struct ARegion * | region, | ||
struct Object * | ob, | ||
const struct tGPspoint * | point2D, | ||
float * | depth, | ||
float | r_out[3] | ||
) |
Convert tGPspoint (temporary 2D/screen-space point data used by GP modal operators) to 3D coordinates.
point2D | The screen-space 2D point data to convert. |
depth | Depth array (via ED_view3d_depth_read_cached()). |
r_out | The resulting 2D point data. |
Referenced by gpencil_fill_modal(), gpencil_primitive_update_strokes(), and gpencil_stroke_from_buffer().
Check whether a given stroke segment is inside a circular brush
mval | The current screen-space coordinates (midpoint) of the brush |
rad | The radius of the brush |
x0,y0 | The screen-space x and y coordinates of the start of the stroke segment |
x1,y1 | The screen-space x and y coordinates of the end of the stroke segment |
Definition at line 462 of file gpencil_utils.c.
References edge_inside_circle(), and y1.
Referenced by annotation_stroke_eraser_dostroke(), get_automasking_strokes_list(), gpencil_stroke_eraser_dostroke(), gpencil_vertexpaint_select_stroke(), and gpencil_weightpaint_select_stroke().
void gpencil_subdivide_stroke | ( | bGPdata * | gpd, |
bGPDstroke * | gps, | ||
int | subdivide | ||
) |
Subdivide a stroke once, by adding a point half way between each pair of existing points
gpd | Datablock |
gps | Stroke data |
subdivide | Number of times to subdivide |
Definition at line 1260 of file gpencil_utils.c.
References BKE_gpencil_stroke_geometry_update(), CLAMP, copy_v3_v3(), copy_v4_v4(), bGPDstroke::dvert, MDeformVert::dw, bGPDspoint::flag, GPENCIL_STRENGTH_MIN, interp_v3_v3v3(), interp_v4_v4v4(), interpf(), MEM_dupallocN, MEM_recallocN, MEM_SAFE_FREE, next, NULL, bGPDstroke::points, bGPDspoint::pressure, bGPDspoint::strength, bGPDspoint::time, bGPDstroke::totpoints, MDeformVert::totweight, bGPDspoint::uv_fac, bGPDspoint::uv_rot, bGPDspoint::vert_color, and bGPDspoint::x.
Referenced by gpencil_stroke_newfrombuffer().
Definition at line 164 of file gpencil_undo.c.
References BLI_freelistN(), cur_node, ListBase::first, gpencil_undo_free_node(), bGPundonode::next, NULL, and undo_nodes.
Referenced by annotation_draw_exit(), gpencil_draw_exit(), and gpencil_fill_exit().
Definition at line 97 of file gpencil_undo.c.
References gpencil_undo_push().
Referenced by annotation_session_initdata(), and gpencil_session_init_fill().
Definition at line 113 of file gpencil_undo.c.
References BKE_gpencil_data_duplicate(), BLI_addtail(), BLI_freelinkN(), BLI_listbase_is_empty(), cur_node, bGPundonode::gpd, gpencil_undo_free_node(), ListBase::last, MEM_callocN, bGPundonode::next, NULL, bGPundonode::prev, steps, and undo_nodes.
Referenced by annotation_stroke_end(), gpencil_fill_modal(), and gpencil_undo_init().
|
extern |
list of bGPDstroke instances
Definition at line 1373 of file gpencil_edit.c.
Referenced by ED_gpencil_strokes_copybuf_free(), gpencil_brush_clone_add(), gpencil_brush_clone_init(), gpencil_sculpt_brush_init(), gpencil_strokes_copy_exec(), gpencil_strokes_paste_exec(), and gpencil_strokes_paste_poll().
|
extern |
Definition at line 47 of file gpencil_bake_animation.cc.
Referenced by GPENCIL_OT_bake_grease_pencil_animation(), and GPENCIL_OT_bake_mesh_animation().