chickadee » macaw » make-hsl-array

make-hsl-array width height #!optional pitchprocedure

Allocates and returns a new hsl-array with the given width and height.

pitch is the number of bytes per row, including any padding at the end. If pitch is omitted, a pitch is automatically chosen that is at least (* width 16). Use hsl-array-pitch to get the pitch that was chosen.