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,14 @@
|
||||
// Swift's Distort extension: four corners dragged apart.
|
||||
public:
|
||||
void beginDistort();
|
||||
void previewCorners(const Corners &corners);
|
||||
std::optional<DistortPreview> distortPreview(const ImageLayer &layer) const;
|
||||
// A layer's effects warped with the pending distortion.
|
||||
std::optional<DistortWarp::Warped> distortedEffects(const ImageLayer &layer, const QImage &image, double inset) const;
|
||||
// For a known target: the commit's, once the edit ends.
|
||||
std::optional<DistortWarp::Warped> distortedEffects(const ImageLayer &layer, const QImage &image, double inset, const DistortTarget &target) const;
|
||||
|
||||
private:
|
||||
std::optional<DistortTarget> distortTarget(const ImageLayer &layer, const TransformEdit &edit, const Corners &shape) const;
|
||||
void commitDistort(const TransformEdit &edit, const Corners &shape);
|
||||
void distort(int index, const LayerTransform &transform, const Corners &corners);
|
||||
Reference in new issue
Block a user