|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | GpRandomSettings |
| struct | tGPDdraw |
| struct | GP_SpaceConversion |
| struct | tGPDprimitive |
| struct | bActListElem |
| struct | GP_EditableStrokes_Iter |
Macros | |
| #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 |
| typedef struct bActListElem | bActListElem |
| typedef enum ACTFILTER_FLAGS | ACTFILTER_FLAGS |
| typedef enum ACTCONT_TYPES | ACTCONT_TYPES |
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 } |
| enum | ACTFILTER_FLAGS { ACTFILTER_VISIBLE = (1 << 0) , ACTFILTER_SEL = (1 << 1) , ACTFILTER_FOREDIT = (1 << 2) , ACTFILTER_CHANNELS = (1 << 3) , ACTFILTER_IPOKEYS = (1 << 4) , ACTFILTER_ONLYICU = (1 << 5) , ACTFILTER_FORDRAWING = (1 << 6) , ACTFILTER_ACTGROUPED = (1 << 7) } |
| enum | ACTCONT_TYPES { ACTCONT_NONE = 0 , ACTCONT_ACTION , ACTCONT_SHAPEKEY , ACTCONT_GPENCIL } |
Variables | |
| ListBase | gpencil_strokes_copypastebuf |
| #define GP_EDITABLE_CURVES_BEGIN | ( | gpstroke_iter, | |
| C, | |||
| gpl, | |||
| gps, | |||
| gpc | |||
| ) |
Iterate over all editable editcurves 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 662 of file gpencil_intern.h.
| #define GP_EDITABLE_CURVES_END | ( | gpstroke_iter | ) |
Definition at line 688 of file gpencil_intern.h.
| #define GP_EDITABLE_STROKES_BEGIN | ( | gpstroke_iter, | |
| C, | |||
| gpl, | |||
| gps | |||
| ) |
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 610 of file gpencil_intern.h.
| #define GP_EDITABLE_STROKES_END | ( | gpstroke_iter | ) |
Definition at line 638 of file gpencil_intern.h.
| #define GP_EVALUATED_STROKES_BEGIN | ( | gpstroke_iter, | |
| C, | |||
| gpl, | |||
| gps | |||
| ) |
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 710 of file gpencil_intern.h.
| #define GP_EVALUATED_STROKES_END | ( | gpstroke_iter | ) |
Definition at line 739 of file gpencil_intern.h.
| #define GP_STROKE_BUFFER_CHUNK 2048 |
Definition at line 353 of file gpencil_intern.h.
| typedef enum ACTCONT_TYPES ACTCONT_TYPES |
| typedef enum ACTFILTER_FLAGS ACTFILTER_FLAGS |
| typedef struct bActListElem bActListElem |
| 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 450 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 455 of file gpencil_intern.h.
| anonymous enum |
| Enumerator | |
|---|---|
| GP_MERGE_STROKE | |
| GP_MERGE_POINT | |
Definition at line 464 of file gpencil_intern.h.
| enum ACTCONT_TYPES |
| Enumerator | |
|---|---|
| ACTCONT_NONE | |
| ACTCONT_ACTION | |
| ACTCONT_SHAPEKEY | |
| ACTCONT_GPENCIL | |
Definition at line 585 of file gpencil_intern.h.
| enum ACTFILTER_FLAGS |
| Enumerator | |
|---|---|
| ACTFILTER_VISIBLE | |
| ACTFILTER_SEL | |
| ACTFILTER_FOREDIT | |
| ACTFILTER_CHANNELS | |
| ACTFILTER_IPOKEYS | |
| ACTFILTER_ONLYICU | |
| ACTFILTER_FORDRAWING | |
| ACTFILTER_ACTGROUPED | |
Definition at line 573 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 344 of file gpencil_intern.h.
| void ED_gpencil_draw_fill | ( | struct tGPDdraw * | tgpw | ) |
Definition at line 416 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 | ||
| ) |
| const struct EnumPropertyItem* ED_gpencil_layers_with_new_enum_itemf | ( | struct bContext * | C, |
| struct PointerRNA * | ptr, | ||
| struct PropertyRNA * | prop, | ||
| bool * | r_free | ||
| ) |
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 | ||
| ) |
Referenced by GPENCIL_OT_material_set().
| bool gpencil_active_brush_poll | ( | struct bContext * | C | ) |
Definition at line 380 of file gpencil_utils.c.
References Paint::brush, C, CTX_data_tool_settings(), ToolSettings::gp_paint, NULL, and GpPaint::paint.
| bool gpencil_active_layer_poll | ( | struct bContext * | C | ) |
Definition at line 367 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_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().
| bool gpencil_add_poll | ( | struct bContext * | C | ) |
Definition at line 355 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 | ( | Depsgraph * | depsgraph, |
| Object * | obact, | ||
| bGPDlayer * | gpl, | ||
| bGPDstroke * | gps | ||
| ) |
Change points position relative to parent object
Change position relative to parent object
Definition at line 714 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, and bGPDspoint::x.
Referenced by gpencil_stroke_newfrombuffer().
| void gpencil_apply_parent_point | ( | Depsgraph * | depsgraph, |
| Object * | obact, | ||
| bGPDlayer * | gpl, | ||
| bGPDspoint * | pt | ||
| ) |
Change point position relative to parent object
Definition at line 737 of file gpencil_utils.c.
References BKE_gpencil_layer_transform_matrix_get(), copy_v3_v3(), depsgraph, invert_m4_m4(), mul_v3_m4v3(), and bGPDspoint::x.
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().
| bool gpencil_brush_create_presets_poll | ( | bContext * | C | ) |
Ensure that destination datablock has all the colors the pasted strokes need. Helper function for copy-pasting strokes
Definition at line 1469 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 | ) |
Definition at line 2657 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 2071 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 2148 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 2848 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(), RNA_OperatorStrokeElement, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_annotation_active_frame_delete | ( | struct wmOperatorType * | ot | ) |
Definition at line 2085 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 140 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_mesh_animation | ( | struct wmOperatorType * | ot | ) |
Definition at line 403 of file gpencil_mesh.c.
References DEG2RADF, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GP_REPROJECT_CURSOR, GP_REPROJECT_FRONT, GP_REPROJECT_KEEP, GP_REPROJECT_SIDE, GP_REPROJECT_TOP, 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, NULL, 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(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_blank_frame_add | ( | struct wmOperatorType * | ot | ) |
Definition at line 1987 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 1951 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 2158 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 1683 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 196 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 1610 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 192 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 2690 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 2738 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 3950 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(), RNA_OperatorStrokeElement, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_duplicate | ( | struct wmOperatorType * | ot | ) |
Definition at line 1017 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 245 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 1032 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 1356 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 2257 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 1009 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 777 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 859 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 692 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 658 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 4031 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 1069 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 1877 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 944 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 1818 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 1500 of file gpencil_interpolate.c.
References BEZT_IPO_EASE_AUTO, BEZT_IPO_EASE_IN, BEZT_IPO_EASE_IN_OUT, BEZT_IPO_EASE_OUT, 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(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_layer_active | ( | struct wmOperatorType * | ot | ) |
Definition at line 1516 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 260 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 279 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 429 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 359 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 1470 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 496 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 629 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, MAX_ID_NAME, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_layer_isolate | ( | struct wmOperatorType * | ot | ) |
Definition at line 1311 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 3686 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_remove | ( | struct wmOperatorType * | ot | ) |
Definition at line 3735 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 1406 of file gpencil_data.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_active_layer_poll(), gpencil_merge_layer_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_layer_move | ( | struct wmOperatorType * | ot | ) |
Definition at line 406 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 337 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 1198 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 3067 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 3232 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 3161 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 3341 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 1882 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 3288 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 3483 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 3525 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 980 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 3394 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_move_to_layer | ( | struct wmOperatorType * | ot | ) |
Definition at line 1914 of file gpencil_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_move_to_layer_exec(), gpencil_stroke_edit_poll(), 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_paintmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 442 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 1781 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 2044 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 2104 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 2124 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 2064 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 2084 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 3900 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 3825 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 530 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 1157 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 | ) |
Definition at line 2142 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(), RNA_OperatorStrokeElement, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_sculptmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 555 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 2448 of file gpencil_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, 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 285 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 491 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 2037 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 1547 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 817 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 709 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 2102 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_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 927 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 1225 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 363 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 1079 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_vertex_color | ( | struct wmOperatorType * | ot | ) |
Definition at line 2638 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 822 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 327 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 3577 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 3133 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 3004 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 2902 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 3188 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 1695 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 | ( | wmOperatorType * | ot | ) |
Change Stroke caps mode Rounded or Flat
Definition at line 3439 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 1803 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 5201 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_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 | ( | 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 3325 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 184 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 109 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 3734 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 3646 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 540 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 5300 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 612 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_reset_vertex_color | ( | struct wmOperatorType * | ot | ) |
Definition at line 1136 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 4390 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, 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 4727 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 4280 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 4341 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 4887 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 4848 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 4203 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 4473 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 381 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 441 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 1237 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 225 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 347 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 440 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 531 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 626 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 2224 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 2327 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 2394 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 2569 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 2674 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 2259 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 2293 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 2491 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 1444 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(), RNA_OperatorStrokeElement, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_vertexmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 772 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 901 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(), RNA_OperatorStrokeElement, and wmOperatorType::srna.
Referenced by ED_operatortypes_gpencil().
| void GPENCIL_OT_weightmode_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 663 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, |
| const short | flag, | ||
| const float | pt[3], | ||
| float | xy[2] | ||
| ) |
generic based on gpencil_point_to_xy_fl
Definition at line 879 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, and rctf::ymin.
Referenced by gpencil_origin_get(), gpencil_sculpt_rotation_eval_get(), and gpencil_uv_transform_init().
| void gpencil_point_conversion_init | ( | 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 654 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_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 701 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_nearest_to_ends(), ED_gpencil_stroke_point_is_inside(), ED_gpencil_stroke_reproject(), gpencil_sculpt_brush_do_stroke(), 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 | ||
| ) |
Referenced by annotation_stroke_eraser_dostroke(), gpencil_brush_clone_adjust(), gpencil_sculpt_brush_do_stroke(), 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 screenspace (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 roundtripping 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 819 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_nearest_to_ends(), ED_gpencil_stroke_reproject(), and gpencil_stroke_need_flip().
| bool gpencil_point_xy_to_3d | ( | const GP_SpaceConversion * | gsc, |
| Scene * | scene, | ||
| const float | screen_co[2], | ||
| float | r_out[3] | ||
| ) |
Project screenspace 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 screenspace 2D coordinates to convert to |
| r_out | The resulting 3D coordinates of the input point |
Definition at line 948 of file gpencil_utils.c.
References copy_v2_v2(), ED_gpencil_drawing_reference_get(), ED_view3d_calc_zfac(), ED_view3d_project_float_global(), ED_view3d_win_to_delta(), ToolSettings::gpencil_v3d_align, NULL, 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 | out[3] | ||
| ) |
Referenced by gpencil_fill_modal(), gpencil_primitive_update_strokes(), and gpencil_stroke_from_buffer().
| bool gpencil_stroke_inside_circle | ( | const float | mval[2], |
| int | rad, | ||
| int | x0, | ||
| int | y0, | ||
| int | x1, | ||
| int | y1 | ||
| ) |
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 531 of file gpencil_utils.c.
References edge_inside_circle(), and y1.
Referenced by annotation_stroke_eraser_dostroke(), gpencil_sculpt_brush_do_stroke(), gpencil_stroke_eraser_dostroke(), gpencil_vertexpaint_select_stroke(), and gpencil_weightpaint_select_stroke().
| void gpencil_subdivide_stroke | ( | bGPdata * | gpd, |
| bGPDstroke * | gps, | ||
| const 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 1410 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().
| void gpencil_undo_finish | ( | void | ) |
Definition at line 185 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().
| void gpencil_undo_init | ( | struct bGPdata * | gpd | ) |
Definition at line 116 of file gpencil_undo.c.
References gpencil_undo_push().
Referenced by annotation_session_initdata(), and gpencil_session_init_fill().
| void gpencil_undo_push | ( | struct bGPdata * | gpd | ) |
Definition at line 132 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 1389 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().