Skip to content

Port feMorphology, feDisplacementMap, feGaussianBlur, feTurbulence; fix dashed stroke offset on circles and some filter edge cases

Ivan Molodetskikh requested to merge YaLTeR/librsvg:filters-to-rust-8 into master
  • Ported feMorphology, feDisplacementMap, feGaussianBlur, feTurbulence.
  • The displacement map tests suffer from the image-renders-PNGs-darker issue and will need to be regenerated when that's fixed.
  • Added Pixel::{un,}premultiply().
  • Added SharedImageSurface::unpremultiply().
  • Added SharedImageSurface::convolve().
  • Fixed stroke offset on circles (they were being drawn the wrong way around).
  • Fixed empty and non-existing filters returning the source graphic when they should return nothing.
  • Fixed filters having effect on masks (please check this, I'm not sure it's the best place to handle that logic: this simply states that the filter property does not apply to mask elements).
Edited by Ivan Molodetskikh

Merge request reports