chickadee » sdl2 » render-fill-rects!

render-fill-rect! renderer rectprocedure
render-fill-rects! renderer rectsprocedure

Draw one or multiple filled rectangles, using the renderer's current draw color and blend mode. See SDL_RenderFillRect and SDL_RenderFillRects.

  • render-draw-rect! draws a single filled rect.
  • render-draw-rects! draws multiple filled rects. rects must be a list or vector of sdl2:rect instances.

Requires sdl2 egg 0.2.0 or higher.