Commit c48cbd1c authored by Jehan's avatar Jehan

devel-docs: adding some links on how to find implementation details...

... for layer modes.
KDE developers asked me where the code was so that they could reproduce
actual algorithms in their XCF reader. This is obviously interesting
information to have around in our docs.
parent 5092a68b
......@@ -1230,6 +1230,15 @@ PROP_MODE (essential)
none) of the canvas, it will be the only layer to have its mode
forced to Normal.
Implementation note: all layer modes are implemented as GEGL
operations. The list can be found at:
app/operations/layer-modes/gimp-layer-modes.c
The "op_name" value in particular gives the operation name allowing
reader developers to search for this string. For instance, the
"Normal" layer mode is implemented as the "gimp:normal" GEGL operation
whose implementation can be found at:
app/operations/layer-modes/gimpoperationnormal.c
NOTE: The layer modes 'Old broken Overlay' and 'Soft light (legacy)' are identical.
PROP_OFFSETS (essential)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment