Logo Search packages:      
Sourcecode: inkscape version File versions

std::vector< NR::Point > SPSelection::getSnapPoints (  )  const

Gets the selection's snap points.

Selection's snap points
Compute the list of points in the selection that are to be considered for snapping.

Definition at line 350 of file selection.cpp.

References itemList().

    GSList const *items = const_cast<SPSelection *>(this)->itemList();
    std::vector<NR::Point> p;
    for (GSList const *iter = items; iter != NULL; iter = iter->next) {
        sp_item_snappoints(SP_ITEM(iter->data), SnapPointsIter(p));

    return p;

Generated by  Doxygen 1.6.0   Back to index