Changeset View
Changeset View
Standalone View
Standalone View
libs/libkis/Selection.cpp
Context not available. | |||||
293 | d->selection->pixelSelection()->applySelection(selection->selection()->pixelSelection(), SELECTION_INTERSECT); | 293 | d->selection->pixelSelection()->applySelection(selection->selection()->pixelSelection(), SELECTION_INTERSECT); | ||
---|---|---|---|---|---|
294 | } | 294 | } | ||
295 | 295 | | |||
296 | void Selection::symmetricdifference(Selection *selection) | ||||
297 | { | ||||
298 | if (!d->selection) return; | ||||
299 | d->selection->pixelSelection()->applySelection(selection->selection()->pixelSelection(), SELECTION_SYMMETRICDIFFERENCE); | ||||
300 | } | ||||
301 | | ||||
296 | 302 | | |||
297 | QByteArray Selection::pixelData(int x, int y, int w, int h) const | 303 | QByteArray Selection::pixelData(int x, int y, int w, int h) const | ||
298 | { | 304 | { | ||
Context not available. |