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

Function PiuScreenBufferDraw

modules/piu/Pebble/piuScreenBuffer.c:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void PiuScreenBufferDraw(void* it, PiuView* view, PiuRectangle area)
78{
79 PiuScreenBuffer* self = it;
80 PiuRectangleRecord bounds;
81 PiuRectangleSet(&bounds, 0, 0, (*self)->bounds.width, (*self)->bounds.height);
82 PiuViewDrawContent(view, PiuScreenBufferDrawAux, it, 0, 0, bounds.width, bounds.height);
83}
84
85void PiuScreenBufferDrawAux(void* it, PiuView* view, PiuCoordinate x, PiuCoordinate y, PiuDimension sw, PiuDimension sh)
86{

Callers

nothing calls this directly

Calls 2

PiuRectangleSetFunction · 0.85
PiuViewDrawContentFunction · 0.70

Tested by

no test coverage detected