Working on a generalized polygon drawer