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

Function PiuImageDictionary

modules/piu/MC/colorcell/piuImage.c:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void PiuImageDictionary(xsMachine* the, void* it)
84{
85 PiuImage* self = it;
86 if (xsFindResult(xsArg(1), xsID_archive))
87 (*self)->archive = xsToReference(xsResult);
88 if (xsFindResult(xsArg(1), xsID_path)) {
89 xsSlot* path = PiuString(xsResult);
90 (*self)->path = path;
91 }
92}
93
94void PiuImageDraw(void* it, PiuView* view, PiuRectangle area)
95{

Callers 1

PiuImage_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected