[canvaskit] Roll to v0.13.0
Change-Id: I4ff4e7549f0eeb15fe66755f3da26c15f51bf8f1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274052 Reviewed-by: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
parent
ce97857f5b
commit
79e41e7063
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.13.0] - 2020-02-28
|
||||
|
||||
### Deprecated
|
||||
- `MakeSkCornerPathEffect` will be renamed soon. Calls can be replaced with
|
||||
`PathEffect.MakeCorner`.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "canvaskit-wasm",
|
||||
"version": "0.12.0",
|
||||
"version": "0.13.0",
|
||||
"description": "A WASM version of Skia's Canvas API",
|
||||
"main": "bin/canvaskit.js",
|
||||
"homepage": "https://github.com/google/skia/tree/master/modules/canvaskit",
|
||||
|
@ -1733,12 +1733,14 @@ EMSCRIPTEN_BINDINGS(Skia) {
|
||||
// A value object is much simpler than a class - it is returned as a JS
|
||||
// object and does not require delete().
|
||||
// https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#value-types
|
||||
|
||||
#ifndef SK_NO_FONTS
|
||||
value_object<ShapedTextOpts>("ShapedTextOpts")
|
||||
.field("font", &ShapedTextOpts::font)
|
||||
.field("leftToRight", &ShapedTextOpts::leftToRight)
|
||||
.field("text", &ShapedTextOpts::text)
|
||||
.field("width", &ShapedTextOpts::width);
|
||||
|
||||
#endif
|
||||
value_object<SkRect>("SkRect")
|
||||
.field("fLeft", &SkRect::fLeft)
|
||||
.field("fTop", &SkRect::fTop)
|
||||
|
Loading…
Reference in New Issue
Block a user