Liking cljdoc? Tell your friends :D

pp-grid.core


++clj

(++ & gs)

Convenience wrapper for add to accept grids as args.

Convenience wrapper for add to accept grids as args.
sourceraw docstring

--clj

(-- & gs)

Convenience wrapper for subtract to accept grids as args.

Convenience wrapper for subtract to accept grids as args.
sourceraw docstring

addclj

(add & gs)

Constructs a grid with all given grids added together.

Constructs a grid with all given grids added together.
sourceraw docstring

compute-rangesclj

source

decorateclj

(decorate g & escape-codes)

Decorates a grid with given ansi-escape-codes.

Decorates a grid with given ansi-escape-codes.
sourceraw docstring

empty-gridclj

(empty-grid)
(empty-grid dimension)
source

escaped-charclj

(escaped-char c escape-code)
source

escaped-char?clj

(escaped-char? x)
source

EscapedCharclj

source

grid?clj

(grid? x)
source

heightclj

(height x)
source

rendercljmultimethod

source

render-gridcljmultimethod

source

roundclj

(round n)
source

subtractclj

(subtract & gs)

Returns the first grid minus keys in rest of the grids.

Returns the first grid minus keys in rest of the grids.
sourceraw docstring

tf-hflipclj

(tf-hflip)
source

tf-projectclj

(tf-project target-dimension)
(tf-project target-dimension project-fn)
source

tf-rotateclj

(tf-rotate radians)
source

tf-rotate-90-degreesclj

(tf-rotate-90-degrees)
source

tf-scaleclj

(tf-scale & ns)
source

tf-translateclj

(tf-translate & deltas)
source

tf-transposeclj

(tf-transpose)
source

tf-vflipclj

(tf-vflip)
source

transformclj

(transform g f)
(transform g f dimension)

Transforms a grid into another grid using given transformation function.

A transformation function accepts a key (coordinate vector) and returns another key.

For example transformation functions, take a look at the tf-* functions.

Transforms a grid into another grid using given transformation function.

A transformation function accepts a key (coordinate vector) and returns another key.

For example transformation functions, take a look at the tf-* functions.
sourceraw docstring

update-rangesclj

(update-ranges metadata & ks)
source

valid-key?clj

(valid-key? dimension k)
source

valid-value?clj

(valid-value? v)
source

validate-keyclj

(validate-key dimension k)
source

validate-valueclj

(validate-value v)
source

widthclj

(width x)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close