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

Function PiuRoundRectDictionary

modules/piu/Pebble/piuRoundRect.c:67–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66
67void PiuRoundRectDictionary(xsMachine* the, void* it)
68{
69 PiuRoundRect* self = it;
70 xsIntegerValue integer;
71 if (xsFindInteger(xsArg(1), xsID_corners, &integer)) {
72 (*self)->corners = integer;
73 }
74 if (xsFindInteger(xsArg(1), xsID_radius, &integer)) {
75 (*self)->radius = integer;
76 }
77}
78
79void PiuRoundRectDraw(void* it, PiuView* view, PiuRectangle area)
80{

Callers 1

PiuRoundRect_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected