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

Method GetArea

rEFIt_UEFI/libeg/XImage.cpp:437–440  ·  view source on GitHub ↗

Screen operations * The function to get image from screen. Used in screenshot (full screen), Pointer (small area) and Draw (small area) * XImage must be created with Width, Height of Rect * the rect will be clipped if it intersects the screen edge * * be careful about alpha. This procedure can produce alpha = 0 which means full transparent * No! Anuway alpha should be corrected to 0xFF

Source from the content-addressed store, hash-verified

435 * No! Anuway alpha should be corrected to 0xFF
436 */
437void XImage::GetArea(const EG_RECT& Rect)
438{
439 GetArea(Rect.XPos, Rect.YPos, Rect.Width, Rect.Height);
440}
441
442void XImage::GetArea(INTN x, INTN y, UINTN W, UINTN H)
443{

Callers 4

DrawTextXYMethod · 0.80
DrawMethod · 0.80
egScreenShotFunction · 0.80
DrawMethod · 0.80

Calls 1

EfiLibLocateProtocolFunction · 0.70

Tested by

no test coverage detected