Bug 1064110 - Add support for stroke scale modes

Can you call this `originalStrokeFunction`, or at least `originalStroke`? `previous` makes it sound like it was somehow used in some previous operation.