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

Function PiuCodeInvalidate

modules/piu/PC/Code/piuCode.c:592–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void PiuCodeInvalidate(void* it, PiuRectangle area)
593{
594 PiuContent* self = it;
595 if ((*self)->flags & piuVisible) {
596 PiuContainer* container = (*self)->container;
597 if (container) {
598 PiuRectangleRecord bounds;
599 PiuRectangleSet(&bounds, (*self)->bounds.x, (*self)->bounds.y, 0x7FFF, (*self)->bounds.height);
600 (*(*container)->dispatch->invalidate)((*self)->container, &bounds);
601 }
602 }
603}
604
605void PiuCodeMark(xsMachine* the, void* it, xsMarkRoot markRoot)
606{

Callers 1

PiuCodeSelectFunction · 0.85

Calls 1

PiuRectangleSetFunction · 0.85

Tested by

no test coverage detected