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-image img)
(buffered-image-> img buffered-image)
(convert img image-type)
(copy-to source-img source-rect dest-img dest-x dest-y)
(fill img rect int-color)
(release img)
(sub-image img rect)
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-image img rect)
(array-matches-image? img rect array-data)
(height img)
(image-type img)
(new-image img new-width new-height image-type)
(width img)
(->array img rect dest-array)
(resize img new-width new-height)
(array-> img rect source-array)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close