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

Method LoadSvgFrame

rEFIt_UEFI/libeg/VectorGraphics.cpp:437–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437EFI_STATUS XTheme::LoadSvgFrame(INTN i, OUT XImage* XFrame)
438{
439 EFI_STATUS Status = EFI_NOT_FOUND;
440 XString8 XFrameName = S8Printf("frame_%04lld", i+1);
441 Status = ParseSVGXIcon(BUILTIN_ICON_ANIME, XFrameName, XFrame, NULL); //svg anime will be full redesigned
442 if (EFI_ERROR(Status)) {
443 DBG("frame '%s' not loaded, status=%s\n", XFrameName.c_str(), efiStrError(Status));
444 }
445
446 return Status;
447}
448
449// it is not draw, it is render and mainly used in egRenderText
450// which is used in icns.cpp as an icon replacement if no image found, looks like not used

Callers 1

GetFramesMethod · 0.80

Calls 3

S8PrintfFunction · 0.85
efiStrErrorFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected