Code

Provide knotholder for LPEPerpBisector; TODO: this replaces the usual nodepath in...
[inkscape.git] / src / draw-anchor.cpp
index 2a3279075b4403af4f51859fff9bb600b0a0d511..b06e94a48f0eccf8429af96ae0ec9e284dd24560 100644 (file)
@@ -1,4 +1,4 @@
-/** \file 
+/** \file
  * Anchors implementation.
  */
 
@@ -34,7 +34,7 @@ sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, gboolean start, NR::Point
     a->start = start;
     a->active = FALSE;
     a->dp = delta;
-    a->ctrl = sp_canvas_item_new(SP_DT_CONTROLS(dt), SP_TYPE_CTRL,
+    a->ctrl = sp_canvas_item_new(sp_desktop_controls(dt), SP_TYPE_CTRL,
                                  "size", 6.0,
                                  "filled", 0,
                                  "fill_color", 0xff00007f,
@@ -63,7 +63,7 @@ sp_draw_anchor_destroy(SPDrawAnchor *anchor)
 #define A_SNAP 4.0
 
 /**
- * Test if point is near anchor, if so fill anchor on canvas and return 
+ * Test if point is near anchor, if so fill anchor on canvas and return
  * pointer to it or NULL.
  */
 SPDrawAnchor *