Editted polygon.cpp, Drawing polygons on any image