Renamed Quad2D to Rect2D because the name is more suitable to the class.
Added new Quad2D class which can be a rectangle polygon with different
side lengths.
Adapted GPURenderCanvas.