DOMAIN. The values GIMP verbs take and answer, as malli schemas registered
under :hive-gimp.verbs/*, and their projection onto hive-gimp.py forms.
A Handle names a GIMP object inside a program: a Ref that came back
from GIMP ({:id :type :name}), or a symbol naming a Python variable an
earlier verb of the same program bound with :as. handle-form turns
either into the expression that reaches the object; how a Ref is looked
up is the open multimethod lookup-form, keyed by its :type.
GIMP's enumerations are DATA tables (channel-ops, fill-types,
image-types): a new member is a map entry. Pure; nothing here touches
GIMP.
DOMAIN. The values GIMP verbs take and answer, as malli schemas registered
under `:hive-gimp.verbs/*`, and their projection onto hive-gimp.py forms.
A `Handle` names a GIMP object inside a program: a `Ref` that came back
from GIMP (`{:id :type :name}`), or a symbol naming a Python variable an
earlier verb of the same program bound with `:as`. `handle-form` turns
either into the expression that reaches the object; how a `Ref` is looked
up is the open multimethod `lookup-form`, keyed by its `:type`.
GIMP's enumerations are DATA tables (`channel-ops`, `fill-types`,
`image-types`): a new member is a map entry. Pure; nothing here touches
GIMP.The selection's bounding box; :empty? true when nothing is selected.
The selection's bounding box; `:empty?` true when nothing is selected.
Statements binding the Python name hg-colour to a Gegl.Color for
colour, a CSS string or an Rgba map.
Statements binding the Python name `hg-colour` to a `Gegl.Color` for `colour`, a CSS string or an `Rgba` map.
(enum-form table k)The GIMP enum member k names in table.
The GIMP enum member `k` names in `table`.
How a verb is told which GIMP object to act on.
How a verb is told which GIMP object to act on.
(handle-form h)The expression reaching the object h names. A form
(a list) is already an expression and stands for itself.
The expression reaching the object `h` names. A form (a list) is already an expression and stands for itself.
The expression reaching the GIMP object ref names, keyed by :type.
The expression reaching the GIMP object `ref` names, keyed by `:type`.
Percent, as GIMP's set_opacity takes it.
Percent, as GIMP's `set_opacity` takes it.
(plug forms holes)forms with every ?hole symbol replaced by the FORM holes maps it to
(a form, unlike ~x, which splices a value as a literal).
`forms` with every `?hole` symbol replaced by the FORM `holes` maps it to (a form, unlike `~x`, which splices a value as a literal).
Stack position for an insert: 0 is the top, -1 above the active item.
Stack position for an insert: 0 is the top, -1 above the active item.
(py-name? x)True when x is an unqualified symbol usable as a Python variable.
True when `x` is an unqualified symbol usable as a Python variable.
Channels in 0..1; an absent :a is opaque.
Channels in 0..1; an absent `:a` is opaque.
(with-holes holes & body)py/forms of body, with each ?hole symbol of the holes map replaced
by the form its value evaluates to.
`py/forms` of `body`, with each `?hole` symbol of the `holes` map replaced by the form its value evaluates to.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |