MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / nsvg__parseMiterLimit

Function nsvg__parseMiterLimit

rEFIt_UEFI/libeg/nanosvg.cpp:1559–1566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1557}
1558
1559static float nsvg__parseMiterLimit(const char* str)
1560{
1561 float val = 0;
1562 // sscanf(str, "%f", &val);
1563 AsciiStrToFloat(str, NULL, &val);
1564 if (val < 0.0f) val = 0.0f;
1565 return val;
1566}
1567
1568static int nsvg__parseUnits(const char* units)
1569{

Callers 1

nsvg__parseAttrFunction · 0.85

Calls 1

AsciiStrToFloatFunction · 0.85

Tested by

no test coverage detected