Skip to content

element: Split ElementTrait in two traits, SetAttributes and Draw

Paolo Borelli requested to merge pborelli/librsvg:traits into master

I think the two separate traits are more "speaking" and also give us the opportunity to implement SetAttributes for some other structs like gradient::Common. We use a blanket implementation of Draw for filter effects.

I am not 100% sure about this, so I am also ok with dropping it altogether, but having ElementTrait with Trait in the name always irked me 😆

Merge request reports