PURE. Verbs over GIMP paths (Gimp.Path, GIMP 3.2): create one, add a
stroke through points, and stroke it onto a drawable. A polyline through
[[x y] ...] is a Bezier stroke whose every anchor is its own two
handles (control-points).
PURE. Verbs over GIMP paths (`Gimp.Path`, GIMP 3.2): create one, add a stroke through points, and stroke it onto a drawable. A polyline through `[[x y] ...]` is a Bezier stroke whose every anchor is its own two handles (`control-points`).
(control-points points)The flat Bezier control points of the polyline through points: each
anchor repeated as its own in and out handle.
The flat Bezier control points of the polyline through `points`: each anchor repeated as its own in and out handle.
(from-points image points {:keys [as] :or {as (quote hg-path)} :as opts})A new path named :name in image through points. Answers its Ref.
A new path named `:name` in `image` through `points`. Answers its `Ref`.
(new-path image {:keys [name as] :or {as (quote hg-path)}})A new empty path in image, inserted at the top of its paths and bound to
:as (default hg-path). Answers its Ref.
A new empty path in `image`, inserted at the top of its paths and bound to `:as` (default `hg-path`). Answers its `Ref`.
(stroke drawable path opts)Stroke path onto drawable with :colour and :width when given.
Answers the drawable.
Stroke `path` onto `drawable` with `:colour` and `:width` when given. Answers the drawable.
(stroke-new-from-points path points {:keys [closed?] :or {closed? false}})Add a stroke through points to path, closed when :closed?. Answers
the path.
Add a stroke through `points` to `path`, closed when `:closed?`. Answers the path.
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 |