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

Function PocoOriginPop

modules/commodetto/commodettoPocoBlit.c:3821–3835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3819}
3820
3821void PocoOriginPop(Poco poco)
3822{
3823 PocoRectangle clip = (PocoRectangle)poco->displayListEnd;
3824
3825 if (0 == poco->stackDepth) {
3826 poco->flags |= kPocoFlagErrorStackProblem;
3827 return;
3828 }
3829
3830 poco->xOrigin = clip->x;
3831 poco->yOrigin = clip->y;
3832
3833 poco->displayListEnd = (char *)(clip + 1);
3834 poco->stackDepth--;
3835}
3836
3837#ifndef logDisplayList
3838void logDisplayList(Poco poco)

Callers 2

xs_poco_originFunction · 0.85
PiuViewPopOriginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected