Add support for stroke scale modes.