Implemented support for scaling of strokes.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>