Question:
Prompt a simple and lightweight graphics library to represent a two-dimensional array in the form of a square field n * n, with the ability to add images, textures to cells.
Answer:
If you are interested in specifically "lightweight" (which also have excellent portability), then I advise SDL
or SFML
. I did not use the latter, but SDL
in conjunction with OpenGL ES
shows itself perfectly (if you do not want to mess with shaders, then SDL
has extensions that allow you to display textures without writing your own shaders).