Liking cljdoc? Tell your friends :D

hive-gimp.verbs.paint

PURE. Verbs that set GIMP's context colours and line width and paint into a drawable: fill (with a fill type or a colour) and stroke (the selection or an item such as a path). Painting changes the drawable it is given, so give it a fresh layer (hive-gimp.verbs.layer/new-layer). A verb that needs a colour or width for one paint pushes and pops GIMP's context, so the GUI's own colours survive it.

PURE. Verbs that set GIMP's context colours and line width and paint into
a drawable: fill (with a fill type or a colour) and stroke (the selection
or an item such as a path). Painting changes the drawable it is given, so
give it a fresh layer (`hive-gimp.verbs.layer/new-layer`). A verb that
needs a colour or width for one paint pushes and pops GIMP's context, so
the GUI's own colours survive it.
raw docstring

context-get-backgroundclj

(context-get-background)

The context's background colour.

The context's background colour.
sourceraw docstring

context-get-foregroundclj

(context-get-foreground)

The context's foreground colour.

The context's foreground colour.
sourceraw docstring

context-set-backgroundclj

(context-set-background colour)

Set the context's background colour. Answers it as GIMP stored it.

Set the context's background colour. Answers it as GIMP stored it.
sourceraw docstring

context-set-foregroundclj

(context-set-foreground colour)

Set the context's foreground colour. Answers it as GIMP stored it.

Set the context's foreground colour. Answers it as GIMP stored it.
sourceraw docstring

context-set-line-widthclj

(context-set-line-width width)

Set the context's stroke line width, in pixels. Answers it.

Set the context's stroke line width, in pixels. Answers it.
sourceraw docstring

edit-fillclj

(edit-fill drawable fill-type)

Fill drawable's selected area (all of it when nothing is selected) with fill-type (v/fill-types). Answers the drawable.

Fill `drawable`'s selected area (all of it when nothing is selected) with
`fill-type` (`v/fill-types`). Answers the drawable.
sourceraw docstring

edit-fill-colourclj

(edit-fill-colour drawable colour)

Fill drawable's selected area with colour, leaving the context's foreground as it was. Answers the drawable.

Fill `drawable`'s selected area with `colour`, leaving the context's
foreground as it was. Answers the drawable.
sourceraw docstring

edit-stroke-itemclj

(edit-stroke-item drawable item opts)

Stroke item (a path, or a layer's outline) on drawable, with :colour and :width when given. Answers the drawable.

Stroke `item` (a path, or a layer's outline) on `drawable`, with `:colour`
and `:width` when given. Answers the drawable.
sourceraw docstring

edit-stroke-selectionclj

(edit-stroke-selection drawable opts)

Stroke the selection's outline on drawable, with :colour and :width when given (else the context's). Answers the drawable.

Stroke the selection's outline on `drawable`, with `:colour` and `:width`
when given (else the context's). Answers the drawable.
sourceraw docstring

LineWidthclj

source

Strokeclj

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