Skip to content

even more state rs

Paolo Borelli requested to merge pborelli/librsvg:state-rs into master

Another evening, another MR, though smaller this time :)

Introduce a UnitInterval (I did not make up the name, https://en.wikipedia.org/wiki/Unit_interval) struct to hold [0-1] values and use it for opacity properties, including moving the "opacity" attribute itself from C.

Once stop_opacity is fixed, the Opacity struct can be deleted

Merge request reports