Code

peeled back the gboolean code as it hit on some complexity theory principles...
[inkscape.git] / src / draw-context.h
index ded91328342598c810463c2752b5c99f87420ee0..59ec5a92fe18ee6b7eb28432d0caf10813851139 100644 (file)
@@ -57,7 +57,7 @@ struct SPDrawContext : public SPEventContext{
     GSList *green_bpaths;
     SPCurve *green_curve;
     SPDrawAnchor *green_anchor;
-    bool green_closed; // a flag meaning we hit the green anchor, so close the path on itself
+    gboolean green_closed; // a flag meaning we hit the green anchor, so close the path on itself
 
     /* White */
     SPItem *white_item;
@@ -81,7 +81,7 @@ struct SPDrawContextClass : public SPEventContextClass{};
 
 GType sp_draw_context_get_type(void);
 SPDrawAnchor *spdc_test_inside(SPDrawContext *dc, NR::Point p);
-void spdc_concat_colors_and_flush(SPDrawContext *dc, bool forceclosed);
+void spdc_concat_colors_and_flush(SPDrawContext *dc, gboolean forceclosed);
 void spdc_endpoint_snap_rotation(SPEventContext const *const ec, NR::Point &p, NR::Point const o, guint state);
 void spdc_endpoint_snap_free(SPEventContext const *ec, NR::Point &p, guint state);