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

Function nsvg__resetPath

rEFIt_UEFI/libeg/nanosvg.cpp:639–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639static void nsvg__resetPath(NSVGparser* p)
640{
641 p->npts = 0;
642 if (p->cpts > 0 && p->pts) {
643 FreePool(p->pts);
644 p->pts = NULL;
645 p->cpts = 0;
646 }
647}
648
649static void nsvg__addPoint(NSVGparser* p, float x, float y)
650{

Callers 6

nsvg__parsePathFunction · 0.85
nsvg__parseRectFunction · 0.85
nsvg__parseCircleFunction · 0.85
nsvg__parseEllipseFunction · 0.85
nsvg__parseLineFunction · 0.85
nsvg__parsePolyFunction · 0.85

Calls 1

FreePoolFunction · 0.50

Tested by

no test coverage detected