New stroke to path functionality