applying in svg path reader

Cant compile it. error "incompatible type"