Code

Filters. Some custom predefined filters fixes and tweaks (Silhouette and Neon Draw).
[inkscape.git] / src / sp-item-update-cns.cpp
index bebd6502199dab5b9939e014c976d9191a079875..315d0910812c8f007a50489c158158abb303a462 100644 (file)
@@ -9,8 +9,8 @@ using std::vector;
 
 void sp_item_update_cns(SPItem &item, SPDesktop const &desktop)
 {
-    SnapPointsWithType snappoints;
-    sp_item_snappoints(&item, false, snappoints, NULL);
+    std::vector<Inkscape::SnapCandidatePoint> snappoints;
+    item.getSnappoints(snappoints, NULL);
     /* TODO: Implement the ordering. */
     vector<SPGuideConstraint> found_cns;
     satisfied_guide_cns(desktop, snappoints, found_cns);
@@ -43,4 +43,4 @@ void sp_item_update_cns(SPItem &item, SPDesktop const &desktop)
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :