I'm looking for recommendation for a Nim 2d graphics library that also handles 
input

  * render text at fixed (x, y) location
  * an easy way to get bounding boxes for text
  * draw lines
  * draw filled and empty polygons
  * draw filled and empty circles
  * get keyboard and mouse input
  * (optional) some drawing buffering management
  * (optional) drawing dashed lines



Some example libaries that do this in Python

  * Tkinter canvas
  * Cairo with an XCB surface
  * Pygame



I found this [curated 
list](https://github.com/nim-lang/Nim/wiki/Curated-Packages) where either GUI 
or games might be a good fit but its hard to tell what a library's canvas can 
do without digging into it.

Reply via email to