Code

patch 1219308 for embedding type 1 fonts into ps/eps output
[inkscape.git] / src / nodepath.h
index edce23f76886bafffefe3ff47728420020dff539..0216af730952a00c19527a35e89ffdacda4acf07 100644 (file)
@@ -147,7 +147,7 @@ class SubPath {
 /**  The parent of this subpath */
        Path * nodepath;
 /**  Is this path closed (no endpoints) or not?*/
-       bool closed;
+       gboolean closed;
 /**  The nodes in this subpath. */
        GList * nodes;
 /**  The first node of the subpath (does not imply open/closed)*/
@@ -228,6 +228,9 @@ class Node {
 
        /** The pointer to the nodeside which we are dragging out with Shift */
        NodeSide *dragging_out;
+  
+  /** Boolean.  Am I being dragged? */
+  guint is_dragging : 1;
 };
 
 }  // namespace NodePath
@@ -242,17 +245,18 @@ enum {
 // Do function documentation in nodepath.cpp
 Inkscape::NodePath::Path * sp_nodepath_new (SPDesktop * desktop, SPItem * item, bool show_handles);
 void sp_nodepath_destroy (Inkscape::NodePath::Path * nodepath);
+void sp_nodepath_ensure_livarot_path(Inkscape::NodePath::Path *np);
 void sp_nodepath_deselect (Inkscape::NodePath::Path *nodepath);
 void sp_nodepath_select_all (Inkscape::NodePath::Path *nodepath, bool invert);
 void sp_nodepath_select_all_from_subpath(Inkscape::NodePath::Path *nodepath, bool invert);
 void sp_nodepath_select_next (Inkscape::NodePath::Path *nodepath);
 void sp_nodepath_select_prev (Inkscape::NodePath::Path *nodepath);
-void sp_nodepath_select_rect (Inkscape::NodePath::Path * nodepath, NR::Rect const &b, bool incremental);
+void sp_nodepath_select_rect (Inkscape::NodePath::Path * nodepath, NR::Rect const &b, gboolean incremental);
 GList *save_nodepath_selection (Inkscape::NodePath::Path *nodepath);
 void restore_nodepath_selection (Inkscape::NodePath::Path *nodepath, GList *r);
-bool nodepath_repr_d_changed (Inkscape::NodePath::Path * np, const char *newd);
-bool nodepath_repr_typestr_changed (Inkscape::NodePath::Path * np, const char *newtypestr);
-bool node_key (GdkEvent * event);
+gboolean nodepath_repr_d_changed (Inkscape::NodePath::Path * np, const char *newd);
+gboolean nodepath_repr_typestr_changed (Inkscape::NodePath::Path * np, const char *newtypestr);
+gboolean node_key (GdkEvent * event);
 void sp_nodepath_update_repr(Inkscape::NodePath::Path *np, const gchar *annotation);
 void sp_nodepath_update_statusbar (Inkscape::NodePath::Path *nodepath);
 void sp_nodepath_selected_align(Inkscape::NodePath::Path *nodepath, NR::Dim2 axis);