chickadee » sdl2 » rect-copy!

rect-copy srcprocedure
rect-copy! src destprocedure

rect-copy efficiently copies the values of src into a new managed sdl2:rect. rect-copy! efficiently copies the values of src into dest, and returns the modified dest. It is safe (but useless) for src and dest to be the same object.

Requires sdl2 egg 0.2.0 or higher.