Path brush transform code