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

Function PiuStyleGetHeight

modules/piu/All/piuStyle.c:407–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407PiuDimension PiuStyleGetHeight(PiuStyle* self, xsSlot* string)
408{
409 PiuFont* font = (*self)->font;
410 return (*self)->margins.top + PiuFontGetHeight(font) + (*self)->margins.bottom;
411}
412
413void PiuStyleMark(xsMachine* the, void* it, xsMarkRoot markRoot)
414{

Callers 2

PiuStyle_measureFunction · 0.85

Calls 1

PiuFontGetHeightFunction · 0.50

Tested by

no test coverage detected