chickadee » sdl2 » colour-copy

color-copy srcprocedure
colour-copy srcprocedure
color-copy! src destprocedure
colour-copy! src destprocedure

color-copy and colour-copy efficiently copy the values of src into a new managed sdl2:color. color-copy and colour-copy are available in sdl2 egg version 0.2.0 and higher. In earlier versions, they were named copy-color and copy-colour.

color-copy! and colour-copy! efficiently copy the values of src into dest, and return the modified dest. It is safe (but useless) for src and dest to be the same object. color-copy! and colour-copy! are available in sdl2 egg version 0.2.0 and higher.