DescriptionImplemented/Tested line-drawing functions in OffscreenCanvas 2D Context
The new Web APIs that are implemented are:
* OffscreenCanvasRendering2D.beginPath()
* OffscreenCanvasRendering2D.fill(optional CanvasFillRule)
* OffscreenCanvasRendering2D.fill(Path2D, optional CanvasFillRule)
* OffscreenCanvasRendering2D.stroke()
* OffscreenCanvasRendering2D.stroke(Path2D)
* OffscreenCanvasRendering2D.lineWidth
* OffscreenCanvasRendering2D.lineCap
* OffscreenCanvasRendering2D.lineJoin
* OffscreenCanvasRendering2D.miterLimit
* OffscreenCanvasRendering2D.setLineDash(array);
* OffscreenCanvasRendering2D.getLineDash
* OffscreenCanvasRendering2D.lineDashOffset
A subset of existing Web APIs shared with non-Offscreen
canvas from CanvasPathMethods are also tested, including:
arc, lineTo, bezierCurveTo, moveTo, closePath.
BUG=563856
Committed: https://crrev.com/743ca082b662386b4df43a5dc556f9a1be701785
Cr-Commit-Position: refs/heads/master@{#382584}
Patch Set 1 : #
Total comments: 1
Patch Set 2 : Exposed Path2D to Worker on experimental mode only+Update expected test results+Add myself to OWNERS #Patch Set 3 : Name the new runtime-enabled flag as "StableBlinkFeatures" #
Total comments: 1
Patch Set 4 : Nits + rebase with master #Messages
Total messages: 15 (8 generated)
|