1.2.3-SNAPSHOT Arrow_down_16x16

copy-pixels

incanter.processing

  • (copy-pixels sketch [sx1 sy1 sx2 sy2] [dx1 dy1 dx2 dy2])
  • (copy-pixels sketch img [sx1 sy1 sx2 sy2] [dx1 dy1 dx2 dy2])
Processing copy function.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/processing.clj:357 top

(defn copy-pixels
" Processing copy function. "
  ([^PApplet sketch [sx1 sy1 sx2 sy2] [dx1 dy1 dx2 dy2]]
         (.copy sketch (int sx1) (int sy1) (int sx2) (int sy2)
                        (int dx1) (int dy1) (int dx2) (int dy2)))
  ([^PApplet sketch ^PImage img [sx1 sy1 sx2 sy2] [dx1 dy1 dx2 dy2]]
         (.copy sketch img (int sx1) (int sy1) (int sx2) (int sy2)
                        (int dx1) (int dy1) (int dx2) (int dy2))))
Vars in incanter.processing/copy-pixels: defn int
Used in 0 other vars

Comments top

No comments for copy-pixels. Log in to add a comment.