OmaPhoto 1.0.0: the Linux port of Compositor
A layered image editor for Linux and Omarchy, ported from Compositor (github.com/robbietilton/Compositor), whose Swift source is its specification. It reads and writes Compositor's .comp projects. Packages for Ubuntu, Fedora and Arch come from the release workflow; scripts/install/ holds one install script per distribution family, and flake.nix serves NixOS. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
commit
c864304695
564 files changed
+100804
No files matched your search
@@ -0,0 +1,20 @@
|
||||
// Swift's LayerMask extension: masks on layers and folders.
|
||||
public:
|
||||
void selectLayerTarget(QUuid id, bool mask);
|
||||
// Layers and folders alike take a mask.
|
||||
bool canEditMask() const;
|
||||
void addLayerMask(bool revealing = true);
|
||||
void toggleLayerMask();
|
||||
void deleteLayerMask();
|
||||
bool canCopyMask(QUuid source, QUuid target) const;
|
||||
void copyMask(QUuid source, QUuid target);
|
||||
void toggleMaskLink(QUuid id);
|
||||
// Where a mask shows now; nil while covering its layer.
|
||||
std::optional<LayerTransform> displayedMaskPlacement(const ImageLayer &layer) const;
|
||||
// An unlinked mask distorted alone, in the layer's grid.
|
||||
std::optional<QImage> maskDistortPreview(const ImageLayer &layer) const;
|
||||
// The selection made a mask; without one, a solid mask.
|
||||
void addMask(bool revealing = true);
|
||||
|
||||
private:
|
||||
void commitMaskTransform();
|
||||
Reference in new issue
Block a user