174
static void sp_node_path_edit_toarc(void)
176
NodeTool *nt = get_node_tool();
178
nt->_multipath->setSegmentType(Inkscape::UI::SEGMENT_ELIPTICAL_ARC);
182
static void sp_node_path_edit_arc_shallow(void)
184
NodeTool *nt = get_node_tool();
186
nt->_multipath->setArcSegmentLarge(false);
190
static void sp_node_path_edit_arc_bulge(void)
192
NodeTool *nt = get_node_tool();
194
nt->_multipath->setArcSegmentLarge(true);
198
static void sp_node_path_edit_arc_flip(void)
200
NodeTool *nt = get_node_tool();
202
nt->_multipath->toggleArcSegmentSweep();
206
174
static void sp_node_path_edit_cusp(void)
208
176
NodeTool *nt = get_node_tool();
521
InkAction* inky = ink_action_new( "NodeArcShallowAction",
522
_("Node Arc Shallow"),
523
_("Make selected arc segments shallow"),
524
INKSCAPE_ICON("node-segment-elliptical-arc-shallow"),
526
g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_arc_shallow), 0 );
527
gtk_action_group_add_action( mainActions, GTK_ACTION(inky) );
531
InkAction* inky = ink_action_new( "NodeArcBulgeAction",
533
_("Make selected arc segments bulge"),
534
INKSCAPE_ICON("node-segment-elliptical-arc-bulge"),
536
g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_arc_bulge), 0 );
537
gtk_action_group_add_action( mainActions, GTK_ACTION(inky) );
541
InkAction* inky = ink_action_new( "NodeArcFlipAction",
543
_("Flip selected arc segments"),
544
INKSCAPE_ICON("node-segment-elliptical-arc-flip"),
546
g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_arc_flip), 0 );
547
gtk_action_group_add_action( mainActions, GTK_ACTION(inky) );
551
489
InkAction* inky = ink_action_new( "NodeLineAction",
553
491
_("Make selected segments lines"),
571
InkAction* inky = ink_action_new( "NodeArcAction",
573
_("Make selected segments arcs"),
574
INKSCAPE_ICON("node-segment-elliptical-arc"),
576
g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_toarc), 0 );
577
gtk_action_group_add_action( mainActions, GTK_ACTION(inky) );
581
509
InkToggleAction* act = ink_toggle_action_new( "NodesShowTransformHandlesAction",
582
510
_("Show Transform Handles"),
583
511
_("Show transformation handles for selected nodes"),