Extended dash-line support to curves