Liking cljdoc? Tell your friends :D

hive-gimp.verbs.value

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.
raw docstring

Boundsclj

The selection's bounding box; :empty? true when nothing is selected.

The selection's bounding box; `:empty?` true when nothing is selected.
sourceraw docstring

channel-opsclj

source

ChannelOpclj

source

Colourclj

source

colour-formscljmultimethod

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.
sourceraw docstring

colour?clj

source

Coordclj

source

Cssclj

source

Dimensionclj

source

enum-formclj

(enum-form table k)

The GIMP enum member k names in table.

The GIMP enum member `k` names in `table`.
sourceraw docstring

FilePathclj

source

fill-typesclj

source

FillTypeclj

source

Handleclj

How a verb is told which GIMP object to act on.

How a verb is told which GIMP object to act on.
sourceraw docstring

handle?clj

source

IHandlecljprotocol

handle-formclj

(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.
source

image-typesclj

source

ImageTypeclj

source

ItemIdclj

source

lookup-formcljmultimethod

The expression reaching the GIMP object ref names, keyed by :type.

The expression reaching the GIMP object `ref` names, keyed by `:type`.
sourceraw docstring

Nameclj

source

Offsetsclj

source

Opacityclj

Percent, as GIMP's set_opacity takes it.

Percent, as GIMP's `set_opacity` takes it.
sourceraw docstring

plugclj

(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).
sourceraw docstring

PngPathclj

source

Pointclj

source

Pointsclj

source

Positionclj

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.
sourceraw docstring

py-name?clj

(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.
sourceraw docstring

PyNameclj

source

Refclj

A GIMP object as GIMP answers it.

A GIMP object as GIMP answers it.
sourceraw docstring

ref?clj

source

registered-schemasclj

source

Rgbaclj

Channels in 0..1; an absent :a is opaque.

Channels in 0..1; an absent `:a` is opaque.
sourceraw docstring

Sizeclj

source

Stepsclj

source

TypeNameclj

source

Unitclj

source

with-holescljmacro

(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.
sourceraw docstring

XcfPathclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close