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 is available in sdl2 egg version 0.2.0 and higher. In earlier versions, it was named copy-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. rect-copy! is available in sdl2 egg version 0.2.0 and higher.