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

Method SetContext

core/graphics/shape/Element.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void xg::shape::Element::SetContext(canvas::CanvasContext &context) const {
85 context.Save();
86 DoClip(context);
87 ResetContext(context);
88 ResetTransform(context);
89}
90
91void xg::shape::Element::RestoreContext(canvas::CanvasContext &context) const { context.Restore(); }
92

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.45

Tested by

no test coverage detected