Home
last modified time | relevance | path

Searched refs:MakeTypedArray (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/skia/modules/canvaskit/
H A Dskottie_bindings.cpp364 trans_val.set("anchor", MakeTypedArray(2, anchor)); in getTransformProps()
365 trans_val.set("position", MakeTypedArray(2, position)); in getTransformProps()
366 trans_val.set("scale", MakeTypedArray(2, scale)); in getTransformProps()
520 text_val.set("fillColor", MakeTypedArray(4, SkColor4f::FromColor(textProp->fFillColor) in getTextSlot()
523 … text_val.set("strokeColor", MakeTypedArray(4, SkColor4f::FromColor(textProp->fStrokeColor) in getTextSlot()
528 text_val.set("boundingBox", MakeTypedArray(4, box)); in getTextSlot()
H A Dparagraph_bindings.cpp480 jrun.set("glyphs", MakeTypedArray(N, info->glyphs)); in GetShapedLines()
481 jrun.set("offsets", MakeTypedArray(N1, info->utf8Starts)); in GetShapedLines()
489 jrun.set("positions", MakeTypedArray(N1*2, (const float*)positions.get())); in GetShapedLines()
H A DWasmCommon.h72 template <typename T> TypedArray MakeTypedArray(int count, const T src[]) { in MakeTypedArray() function
H A Dcanvaskit_bindings.cpp621 return MakeTypedArray(cmds.size(), (const float*)cmds.data()); in ToCmds()
1574 j.set("bounds", MakeTypedArray(4, rect)); in EMSCRIPTEN_BINDINGS()
1589 return MakeTypedArray(sects.size(), (const float*)sects.data()); in EMSCRIPTEN_BINDINGS()