Home
last modified time | relevance | path

Searched refs:SNAP_GRID (Results 1 – 25 of 26) sorted by path

12

/dports/cad/geda/geda-gaf-1.8.2/gschem/
H A DChangeLog5869 SNAP_OFF, SNAP_GRID and SNAP_RESNAP.
/dports/cad/geda/geda-gaf-1.8.2/gschem/include/
H A Dgschem_struct.h2 typedef enum {SNAP_OFF, SNAP_GRID, SNAP_RESNAP, SNAP_STATE_COUNT} SNAP_STATE; enumerator
/dports/cad/geda/geda-gaf-1.8.2/gschem/src/
H A Dg_window.c281 w_current->snap = SNAP_GRID;
H A Dgschem_toplevel.c201 w_current->snap = SNAP_GRID; in gschem_toplevel_new()
H A Di_basic.c568 case SNAP_GRID: in i_update_grid_info()
H A Di_callbacks.c954 w_current->snap = SNAP_GRID; in DEFINE_I_CALLBACK()
3371 case SNAP_GRID: in DEFINE_I_CALLBACK()
/dports/cad/lepton-eda/lepton-eda-1.9.17/libleptongui/include/
H A Dgschem_struct.h2 typedef enum {SNAP_OFF, SNAP_GRID, SNAP_RESNAP, SNAP_STATE_COUNT} SNAP_STATE; enumerator
/dports/cad/lepton-eda/lepton-eda-1.9.17/libleptongui/src/
H A Dg_window.c242 gschem_options_set_snap_mode (w_current->options, SNAP_GRID);
H A Dgschem_bottom_widget.c685 if (widget->snap_mode == SNAP_GRID) in update_snap_info_widget()
H A Dgschem_options.c194 g_return_val_if_fail (options != NULL, SNAP_GRID); in gschem_options_get_snap_mode()
447 SNAP_GRID, in class_init()
H A Dgschem_options_widget.c349 gtk_button_set_label (GTK_BUTTON (widget->snap_radio[SNAP_GRID]), in create_snap_mode_widget()
H A Di_callbacks.c749 gschem_options_set_snap_mode (w_current->options, SNAP_GRID); in i_callback_edit_translate()
2561 case SNAP_GRID: in i_callback_options_snap()
/dports/cad/magic/magic-8.3.245/commands/
H A DCmdRS.c2636 #define SNAP_GRID 3 macro
2667 case SNAP_GRID: case SNAP_USER: case SNAP_ON:
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/
H A Dcanvas_item_editor_plugin.cpp437 …if (((grid_snap_active && (p_modes & SNAP_GRID)) || (p_forced_modes & SNAP_GRID)) && fmod(rotation… in snap_point()
1073 dragged_guide_pos = xform.xform(snap_point(drag_to, SNAP_GRID | SNAP_PIXEL | SNAP_OTHER_NODES)); in _gui_input_rulers_and_guides()
1093 …Point2 edited = snap_point(xform.affine_inverse().xform(b->get_position()), SNAP_GRID | SNAP_PIXEL… in _gui_input_rulers_and_guides()
1355 …_NODE_SIDES | SNAP_NODE_CENTER | SNAP_NODE_ANCHORS | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_pivot()
1357 …new_pos = snap_point(drag_from, SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0, NULL, drag_selection… in _gui_input_pivot()
1377 …_NODE_SIDES | SNAP_NODE_CENTER | SNAP_NODE_ANCHORS | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_pivot()
1379 new_pos = snap_point(drag_to, SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL); in _gui_input_pivot()
1629 …Vector2 new_anchor = xform.xform(snap_point(previous_anchor + (drag_to - drag_from), SNAP_GRID | S… in _gui_input_anchors()
1780 …- drag_from), SNAP_NODE_ANCHORS | SNAP_NODE_PARENT | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_resize()
1784 …- drag_from), SNAP_NODE_ANCHORS | SNAP_NODE_PARENT | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_resize()
[all …]
H A Dcanvas_item_editor_plugin.h601 SNAP_GRID = 1 << 0, enumerator
610 SNAP_DEFAULT = SNAP_GRID | SNAP_GUIDES | SNAP_PIXEL,
H A Dtexture_region_editor_plugin.cpp75 if (snap_mode == SNAP_GRID) { in _region_draw()
354 else if (snap_mode == SNAP_GRID) in _region_input()
484 else if (snap_mode == SNAP_GRID) in _region_input()
574 if (snap_mode == SNAP_GRID) in _set_snap_mode()
903 if (snap_mode == SNAP_GRID) { in snap_point()
H A Dtexture_region_editor_plugin.h54 SNAP_GRID, enumerator
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/
H A Dcanvas_item_editor_plugin.cpp437 …if (((grid_snap_active && (p_modes & SNAP_GRID)) || (p_forced_modes & SNAP_GRID)) && fmod(rotation… in snap_point()
1073 dragged_guide_pos = xform.xform(snap_point(drag_to, SNAP_GRID | SNAP_PIXEL | SNAP_OTHER_NODES)); in _gui_input_rulers_and_guides()
1093 …Point2 edited = snap_point(xform.affine_inverse().xform(b->get_position()), SNAP_GRID | SNAP_PIXEL… in _gui_input_rulers_and_guides()
1355 …_NODE_SIDES | SNAP_NODE_CENTER | SNAP_NODE_ANCHORS | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_pivot()
1357 …new_pos = snap_point(drag_from, SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0, NULL, drag_selection… in _gui_input_pivot()
1377 …_NODE_SIDES | SNAP_NODE_CENTER | SNAP_NODE_ANCHORS | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_pivot()
1379 new_pos = snap_point(drag_to, SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL); in _gui_input_pivot()
1629 …Vector2 new_anchor = xform.xform(snap_point(previous_anchor + (drag_to - drag_from), SNAP_GRID | S… in _gui_input_anchors()
1780 …- drag_from), SNAP_NODE_ANCHORS | SNAP_NODE_PARENT | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_resize()
1784 …- drag_from), SNAP_NODE_ANCHORS | SNAP_NODE_PARENT | SNAP_OTHER_NODES | SNAP_GRID | SNAP_PIXEL, 0,… in _gui_input_resize()
[all …]
H A Dcanvas_item_editor_plugin.h601 SNAP_GRID = 1 << 0, enumerator
610 SNAP_DEFAULT = SNAP_GRID | SNAP_GUIDES | SNAP_PIXEL,
H A Dtexture_region_editor_plugin.cpp75 if (snap_mode == SNAP_GRID) { in _region_draw()
354 else if (snap_mode == SNAP_GRID) in _region_input()
484 else if (snap_mode == SNAP_GRID) in _region_input()
574 if (snap_mode == SNAP_GRID) in _set_snap_mode()
903 if (snap_mode == SNAP_GRID) { in snap_point()
H A Dtexture_region_editor_plugin.h54 SNAP_GRID, enumerator
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/
H A Dtexture_region_editor_plugin.cpp69 if (snap_mode == SNAP_GRID) { in _region_draw()
309 else if (snap_mode == SNAP_GRID) in _region_input()
428 else if (snap_mode == SNAP_GRID) in _region_input()
510 if (snap_mode == SNAP_GRID) in _set_snap_mode()
759 if (snap_mode == SNAP_GRID) { in snap_point()
H A Dtexture_region_editor_plugin.h51 SNAP_GRID, enumerator
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/
H A Dtexture_region_editor_plugin.cpp69 if (snap_mode == SNAP_GRID) { in _region_draw()
309 else if (snap_mode == SNAP_GRID) in _region_input()
428 else if (snap_mode == SNAP_GRID) in _region_input()
510 if (snap_mode == SNAP_GRID) in _set_snap_mode()
759 if (snap_mode == SNAP_GRID) { in snap_point()
H A Dtexture_region_editor_plugin.h51 SNAP_GRID, enumerator

12