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

Method BeginPath

core/webassembly/WebCanvasContext.cpp:245–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void WebCanvasContext::BeginPath() {
246 EM_ASM({ document.getElementById(UTF8ToString($0)).getContext('2d').beginPath(); }, canvasContext_.c_str());
247}
248
249void WebCanvasContext::MoveTo(float x, float y) {
250 EM_ASM({ document.getElementById(UTF8ToString($0)).getContext('2d').moveTo($1, $2); }, canvasContext_.c_str(), x, y);

Callers

nothing calls this directly

Calls 2

UTF8ToStringFunction · 0.85
beginPathMethod · 0.65

Tested by

no test coverage detected