Magic tool Object mode (Compositor 1.1.8)
This commit is contained in:
1 parent
78bfa2445d
commit
3d56688ce4
39 files changed
+1193
-134
No files matched your search
@@ -3,6 +3,8 @@ public:
|
||||
// Off the UI thread; `done` follows the step or refusal.
|
||||
void magicWand(QPointF point, SelectionMode mode, std::function<void()> done = {});
|
||||
|
||||
// What selection-from-image tools read, at document size.
|
||||
std::optional<QImage> selectionSample(const CanvasDocument &document, bool sampleAllLayers) const;
|
||||
|
||||
private:
|
||||
void finishWand();
|
||||
std::optional<QImage> wandSample(const CanvasDocument &document) const;
|
||||
Reference in new issue
Block a user