Code

Two more subtools
authorcilix42 <cilix42@users.sourceforge.net>
Mon, 18 Aug 2008 00:41:44 +0000 (00:41 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Mon, 18 Aug 2008 00:41:44 +0000 (00:41 +0000)
src/lpe-tool-context.cpp

index 59e4de658cf85e82880a30184840fceac2439256..884358965ae2f48857d7815f40fac09a73aa6205 100644 (file)
@@ -40,13 +40,15 @@ static gint sp_lpetool_context_root_handler(SPEventContext *ec, GdkEvent *event)
 
 void sp_lpetool_context_selection_changed(Inkscape::Selection *selection, gpointer data);
 
-const int num_subtools = 4;
+const int num_subtools = 6;
 
 Inkscape::LivePathEffect::EffectType lpesubtools[] = {
     Inkscape::LivePathEffect::LINE_SEGMENT,
-    Inkscape::LivePathEffect::ANGLE_BISECTOR,
     Inkscape::LivePathEffect::CIRCLE_3PTS,
+    Inkscape::LivePathEffect::CIRCLE_WITH_RADIUS,
+    Inkscape::LivePathEffect::PARALLEL,
     Inkscape::LivePathEffect::PERP_BISECTOR,
+    Inkscape::LivePathEffect::ANGLE_BISECTOR,
 };
 
 static SPPenContextClass *lpetool_parent_class = 0;