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

Method DrawOnBack

rEFIt_UEFI/libeg/XImage.cpp:566–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564}
565
566void XImage::DrawOnBack(INTN XPos, INTN YPos, const XImage& Plate)
567{
568 XImage BackLayer(Width, Height);
569 BackLayer.CopyRect(Plate, XPos, YPos); //assume Plate is big enough [XPos+Width, YPos+Height]
570 BackLayer.Compose(0, 0, *this, true);
571 BackLayer.DrawWithoutCompose(XPos, YPos);
572}
573
574/*
575 * IconName is just func_about for example

Callers 4

DrawTextXYMethod · 0.80
GraphicsMenuStyleMethod · 0.80
DrawMainMenuLabelMethod · 0.80
UpdateFilmMethod · 0.80

Calls 3

CopyRectMethod · 0.80
ComposeMethod · 0.80
DrawWithoutComposeMethod · 0.80

Tested by

no test coverage detected