Basic shapes algos required...urgent


I am asking very common question. I want to built my own graphical library having simple to complex figures. The basic problem is I have no knowledge how to built circle and other shapes of this family.

I some body give me some link or material eg. book privately. I will be very grateful to him/her.