chickadee » sdl2 » render-draw-rect!

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

Draw one or multiple outlined rectangles, using the renderer's current draw color and blend mode. See SDL_RenderDrawRect and SDL_RenderDrawRects. These procedures are available in sdl2 egg version 0.2.0 and higher.

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