skia2/modules/canvaskit/htmlcanvas
Kevin Lubick 5d1d92c505 [canvaskit] Add rough measureText to Canvas2D emulation layer
I wanted to use SkParagraph myself, but the API is a little
awkward right now in that I cannot just pass in a SkFont object
(which I have) - I would have to make a FontCollection, which
we lack the ability to do so.

Change-Id: I1488fb9c1a42af020a245a792b8e266c809b599a
Bug: skia:12705
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/481238
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2021-12-09 13:07:24 +00:00
..
_namedcolors.js Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
canvas2dcontext.js [canvaskit] Add rough measureText to Canvas2D emulation layer 2021-12-09 13:07:24 +00:00
color.js Reland "Switch to using a Float32Array (bound as value array) for color." 2020-03-26 14:41:29 +00:00
font.js [canvaskit] Remove Sk from nearly all function/type names. 2020-10-07 21:01:32 +00:00
htmlcanvas.js Wrap SkImage into HTMLImage 2021-12-06 20:05:42 +00:00
htmlimage.js Wrap SkImage into HTMLImage 2021-12-06 20:05:42 +00:00
imagedata.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
lineargradient.js [canvaskit] Remove Sk from nearly all function/type names. 2020-10-07 21:01:32 +00:00
path2d.js [canvaskit] Clean up some APIs related to Path factories 2020-10-09 17:42:47 +00:00
pattern.js Wrap SkImage into HTMLImage 2021-12-06 20:05:42 +00:00
postamble.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
preamble.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
radialgradient.js [canvaskit] Remove Sk from nearly all function/type names. 2020-10-07 21:01:32 +00:00
util.js [canvaskit] Remove isNode and saveAsPicture 2021-04-16 20:55:54 +00:00