good job!
I checked it out today and compiled it but it refused to compile because math.h is not included in graph2d.cc nor it is in graph2d.h.
Another thing is the font you used (you used 'times'), please use a font that can display arabic (e.g. Times New Roman or any arabic truetype font).