Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This link says iPhoneGLU says, this libraray supports below futures.
I would like to know whether I can use this library to draw primitives(lines,points,triangles,simple polygon).
I personally like glad. The have an online generator as well http://glad.dav1d.de
It will generate exactly what you need for your platform.
Required, but never shown