~inkscape+alexander/inkscape/intersect-clip2

« back to all changes in this revision

Viewing changes to src/verbs.cpp

  • Committer: Alexander Brock
  • Date: 2016-11-13 22:15:39 UTC
  • Revision ID: zaibu@lunar-orbit.de-20161113221539-hqac7zcr28djsp37
Add intersectClip method to ObjectSet, add debug code for test case which does unexpected things

Show diffs side-by-side

added added

removed removed

Lines of Context:
1597
1597
        case SP_VERB_OBJECT_UNSET_CLIPPATH:
1598
1598
            sel->unsetMask(true);
1599
1599
            break;
 
1600
        case SP_VERB_OBJECT_INTERSECT_CLIPPATH:
 
1601
            sel->intersectClip(true);
 
1602
            break;
1600
1603
        default:
1601
1604
            break;
1602
1605
    }
2776
2779
                 N_("Edit clipping path"), INKSCAPE_ICON("path-clip-edit")),
2777
2780
    new ObjectVerb(SP_VERB_OBJECT_UNSET_CLIPPATH, "ObjectUnSetClipPath", N_("_Release"),
2778
2781
                 N_("Remove clipping path from selection"), NULL),
 
2782
    new ObjectVerb(SP_VERB_OBJECT_INTERSECT_CLIPPATH, "ObjectIntersectClipPath", N_("_Intersect"),
 
2783
                 N_("Intersect clipped objects with their clipping paths"), NULL),
2779
2784
    // Tag
2780
2785
    new TagVerb(SP_VERB_TAG_NEW, "TagNew", N_("_New"),
2781
2786
                 N_("Create new selection set"), NULL),