MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuContainer_set_clip

Function PiuContainer_set_clip

modules/piu/All/piuContainer.c:554–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554void PiuContainer_set_clip(xsMachine *the)
555{
556 PiuContainer* self = PIU(Container, xsThis);
557 PiuContentInvalidate(self, NULL);
558 if (xsTest(xsArg(0)))
559 (*self)->flags |= piuClip;
560 else
561 (*self)->flags &= ~piuClip;
562 PiuContentInvalidate(self, NULL);
563}
564
565void PiuContainer_add(xsMachine* the)
566{

Callers

nothing calls this directly

Calls 1

PiuContentInvalidateFunction · 0.85

Tested by

no test coverage detected