skia2/experimental/canvaskit
Kevin Lubick 1a05fceb38 [canvaskit] Expand canvas2d API
Made addPath take one more arg to allow for append/expand
(which makes emulating the HTML canvas easier).

Add Gold test for various lineTo/pathTo, etc.

Make CanvasKit.Color() choose a better value for alpha
when omitted (was 0, should be 1).

Add some parsing logic to deal with colors/font sizes.
Fonts are going to be rather complex it seems.

Moves some arc-related logic to the JS side, (although
this should preserve the behavior of CanvasKit.arc() to
behave like the Canvas implementation)

Make Examples and tests to a side-by-side comparison to
HTML canvas where applicable.

Add a Changelog for PathKit.  There was a bug (I thought), but
turns out I was wrong.  The Changelog will be for future
bug fixes.

Bug: skia:
Change-Id: I1bd603fdb518232604b098e24543e3453015b504
Reviewed-on: https://skia-review.googlesource.com/c/170446
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-11-20 18:39:43 +00:00
..
canvaskit [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
htmlcanvas [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
perf [canvaskit] Increase timeout thresholds for perf 2018-10-18 14:54:33 +00:00
tests [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
.gitignore [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
canvaskit_bindings.cpp [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
compile.sh Reland "simplify disabling effect deserialization" 2018-11-08 14:26:52 +00:00
cpu.js [canvaskit] POC working on Node.js 2018-10-17 12:48:24 +00:00
externs.js [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
gpu.js [canvaskit] Fleshing out the beginnings of a Canvas API 2018-10-22 18:02:09 +00:00
helper.js [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
interface.js [canvaskit] Expand canvas2d API 2018-11-20 18:39:43 +00:00
karma.bench.conf.js [canvaskit] Add perf jobs 2018-10-17 19:41:16 +00:00
karma.conf.js Add Correctness tests for CanvasKit 2018-10-16 14:32:28 +00:00
Makefile [canvaskit] Update examples after enum name change 2018-11-07 15:45:14 +00:00
package.json Add Correctness tests for CanvasKit 2018-10-16 14:32:28 +00:00
serve.py [CanvasKit] Implement some basic Canvas/Surface things. 2018-09-21 12:03:55 +00:00