Split path rendering into two classes for fill and stroke