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

Function PiuViewFillColor

modules/piu/PC/lin/piuView.c:703–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703void PiuViewFillColor(PiuView* self, PiuCoordinate x, PiuCoordinate y, PiuDimension w, PiuDimension h)
704{
705 if ((w <= 0) || (h <= 0)) return;
706 if ((*self)->transparent) return;
707 cairo_t* cr = (*self)->cairo;
708 cairo_rectangle(cr, x, y, w, h);
709 cairo_fill(cr);
710}
711
712void PiuViewFillTexture(PiuView* self, PiuTexture* texture, PiuCoordinate x, PiuCoordinate y, PiuDimension w, PiuDimension h, PiuCoordinate sx, PiuCoordinate sy, PiuDimension sw, PiuDimension sh)
713{

Callers 1

PiuCodeHiliteFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected