fixed stroke generation in poly2bitmap