This is your resource to discuss support topics with your peers, and learn from each other.
how to draw simple shapes like a line or a square.Sorry if it was too simple but i am new to development enviornment
You'll need to use OpenGL.
Another option if you want to avoid OpenGL is pixel by pixel mathematically.
It's not as difficult as it may sound. There's an example in in the API Documents under Blits.