chickadee » sdl2 » render-fill-rect!

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. These procedures are available in sdl2 egg version 0.2.0 and higher.

  • 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.