smoothening rectangle shape ?

Hi
I am new to openGL. I have used glBegin(GL_TRIANGLE_FAN) for drawing and filling a rectangle, with four points.
I want to draw rectangle with an angle, then colour filling is in zig zag manner. Help me in smoothing …

Thanks in advance,
Narendra.