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

Function PocoClipPop

modules/commodetto/commodettoPocoBlit.c:3780–3798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3778}
3779
3780void PocoClipPop(Poco poco)
3781{
3782 PocoRectangle clip = (PocoRectangle)poco->displayListEnd;
3783
3784 if (0 == poco->stackDepth) {
3785 poco->flags |= kPocoFlagErrorStackProblem;
3786 return;
3787 }
3788
3789 poco->x = clip->x;
3790 poco->y = clip->y;
3791 poco->w = clip->w;
3792 poco->h = clip->h;
3793 poco->xMax = clip->x + clip->w;
3794 poco->yMax = clip->y + clip->h;
3795
3796 poco->displayListEnd = (char *)(clip + 1);
3797 poco->stackDepth--;
3798}
3799
3800void PocoOriginPush(Poco poco, PocoCoordinate x, PocoCoordinate y)
3801{

Callers 4

xs_poco_clipFunction · 0.85
PiuViewPopClipFunction · 0.85
piuView.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected