Move SVG path blend state to its own object

Create a new inner state object SVGPathBlender::BlendState and move
SVGPathBlender::blendSegments and helpers to it. The per-segment blend*
methods are folded away into blendSegments(). This allows to better
exploit commonalities between the different segment types.
The update of the current point(s) is moved into a helper function.

BUG=467592

Review URL: https://codereview.chromium.org/1056873002

git-svn-id: svn://svn.chromium.org/blink/trunk@193262 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: f436d931a21ef05cd46410c989f3d5f2f0387b47
  1. third_party/