Liking cljdoc? Tell your friends :D

think.image.protocols


default-packed-colorclj

(default-packed-color)
source

PImageAccelcljprotocol

Optional protocol if implementations want to accelerate specific operations. Defaults are provided in terms of the base implementation so some or none of these functions need to be implemented.

Optional protocol if implementations want to accelerate specific operations.
Defaults are provided in terms of the base implementation
so some or none of these functions need to be implemented.

->buffered-imageclj

(->buffered-image img)

buffered-image->clj

(buffered-image-> img buffered-image)

convertclj

(convert img image-type)

copy-toclj

(copy-to source-img source-rect dest-img dest-x dest-y)

fillclj

(fill img rect int-color)

releaseclj

(release img)

sub-imageclj

(sub-image img rect)
sourceraw docstring

PImageImplementationcljprotocol

Required base protocol for image implementations. Rects are instances of java.awt.Rectangle.

Required base protocol for image implementations. Rects are instances of
java.awt.Rectangle.

allocate-array-for-imageclj

(allocate-array-for-image img rect)

array-matches-image?clj

(array-matches-image? img rect array-data)

heightclj

(height img)

image-typeclj

(image-type img)

new-imageclj

(new-image img new-width new-height image-type)

widthclj

(width img)

->arrayclj

(->array img rect dest-array)

resizeclj

(resize img new-width new-height)

array->clj

(array-> img rect source-array)
sourceraw docstring

supported-image-typesclj

source

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

× close