Using the raw value meant that 1em would be incorrectly treated as 1px, for example. I've updated our canvas-filters test to demonstrate this - without the code change this would instead have an x-offset of 2px.
verify_cast
as
RSA_PSS_EMSA
Rect::unite()
EXPECT
RSA_PKCS1-EMSA
Crypto::fill_with_secure_random