Liking cljdoc? Tell your friends :D

clisk.node

Functions for managing clisk AST nodes. Should not normally be needed by library users

Functions for managing clisk AST nodes. Should not normally be needed by library users
raw docstring

code-nodeclj

(code-node form & {:keys [objects] :or {objects nil}})

Creates a node from a given code form (may be a vector). Does not preserve objects - must be copied over manually.

Creates a node from a given code form (may be a vector). Does not preserve objects - must be copied over manually.
raw docstring

compile-fnclj

(compile-fn node)

compile-render-fnclj

(compile-render-fn node)

compile-scalar-nodeclj

(compile-scalar-node n)

constant-nodeclj

(constant-node v)

Create a node that returns a constant value, can be either a constant vector or scalar value

Create a node that returns a constant value, can be either a constant vector or scalar value
raw docstring

constant-node?clj

(constant-node? x)

DEFAULT-IMAGE-SIZEclj


function-nodeclj

(function-node f & scalars)

Creates a node which is a scalar function of scalar nodes. Function should be provided as a symbol.

Creates a node which is a scalar function of scalar nodes. Function should be provided as a symbol.
raw docstring

generate-scalar-codeclj

(generate-scalar-code n)

imgclj

(img node)
(img node w h)
(img node w h dx dy)

Creates a BufferedImage from the given node.

Creates a BufferedImage from the given node.
raw docstring

is-constantclj

(is-constant value)

new-nodeclj

(new-node props)

Create a new AST node with the given properties

Create a new AST node with the given properties
raw docstring

nodeclj

(node a)

node-infoclj

(node-info node)

node?clj

(node? x)

object-nodeclj

(object-node v)

Creates a node with an embedded Java object

Creates a node with an embedded Java object
raw docstring

position-symbol-vectorclj


scalar-node?clj

(scalar-node? x)

texture-boundcljmacro

(texture-bound v offset width max)

transform-componentsclj

(transform-components f & nodes)

Calls transform-node separately on each component of a set of nodes. Returns a scalar iff all input nodes are scalar.

Calls transform-node separately on each component of a set of nodes. Returns a scalar iff all input nodes are scalar.
raw docstring

transform-nodeclj

(transform-node f & nodes)

Creates a node containing code based on transforming the other nodes into a new form

Creates a node containing code based on transforming the other nodes into a new form
raw docstring

validateclj

(validate nd)

Validates the structure and behaviour of any node. Throws an error if any problem is deteted, returns the node otherwise.

Validates the structure and behaviour of any node. Throws an error if any problem is deteted, returns the node otherwise.
raw docstring

value-nodeclj

(value-node v)

vec-nodeclj

(vec-node xs)

Creates a node from a sequence of scalar nodes

Creates a node from a sequence of scalar nodes
raw docstring

vector-function-nodeclj

(vector-function-node vf)

Creates a vector node from a VectorFunction

Creates a vector node from a VectorFunction
raw docstring

vector-nodeclj

(vector-node & xs)

vector-node?clj

(vector-node? x)

ZERO-NODEclj

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

× close