Skip to content

Cleanup clip and mask

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

Keep moving cairo specific bits to the drawing context.

At some point we'll have to tidy up the drawing ctx itself to find the right api and abstraction, but I think that consolidating things there makes it easier to follow.

I also decided to just fold clip_path.rs and mask.rs into structure.rs, since now both files are short and they can go with the other container elements, but feel free to drop the last commit if you do not like this.

PS: in the last days I pushed some minor cleanups directly to master, because I tried a couple of refactors that did not work out and those cleanups were smaller things that could be salvaged... If you prefer that everything goes through a MR feel free to shout at me :)

Merge request reports