MCPcopy Create free account
hub / github.com/antvis/F2Native / ArcTo

Method ArcTo

core/webassembly/WebCanvasContext.cpp:281–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void WebCanvasContext::ArcTo(float x1, float y1, float x2, float y2, float r) {
282 EM_ASM({ document.getElementById(UTF8ToString($0)).getContext('2d').arcTo($1, $2, $3, $4, $5); }, canvasContext_.c_str(),
283 x1, y1, x2, y2, r);
284}
285
286void WebCanvasContext::Scale(float x, float y) {
287 EM_ASM({ document.getElementById(UTF8ToString($0)).getContext('2d').scale($1, $2); }, canvasContext_.c_str(), x, y);

Callers

nothing calls this directly

Calls 2

UTF8ToStringFunction · 0.85
arcToMethod · 0.65

Tested by

no test coverage detected