libeg/screen.c
VOID egDrawImageWithTransparency(EG_IMAGE *Image, EG_IMAGE *BadgeImage, UINTN XPos, UINTN YPos, UINTN Width, UINTN Height) {
    EG_IMAGE *Background;

    Background = egCropImage(GlobalConfig.ScreenBackground, XPos, YPos, Width, Height);
    if (Background != NULL) {
        BltImageCompositeBadge(Background, Image, BadgeImage, XPos, YPos);
        egFreeImage(Background);
    }
}
// Display an unselected icon on the screen, so that the background image shows
// through the transparency areas. The BadgeImage may be NULL, in which case
// it's not composited in.
Display an unselected icon on the screen, so that the background image shows
through the transparency areas. The BadgeImage may be NULL, in which case
it's not composited in.
Display an unselected icon on the screen so that the background image shows through the transparency areas . The BadgeImage may be NULL in which case it ' s not composited in .
VOID egDrawImageWithTransparency(EG_IMAGE *Image, EG_IMAGE *BadgeImage, UINTN XPos, UINTN YPos, UINTN Width, UINTN Height) {
    EG_IMAGE *Background;
    Background = egCropImage(GlobalConfig.ScreenBackground, XPos, YPos, Width, Height);
    if (Background != NULL) {
        BltImageCompositeBadge(Background, Image, BadgeImage, XPos, YPos);
        egFreeImage(Background);
    }
}
VOID egDrawImageWithTransparency ( EG_IMAGE * Image , EG_IMAGE * BadgeImage , UINTN XPos , UINTN YPos , UINTN Width , UINTN Height ) { EG_IMAGE * Background ; Background = egCropImage ( GlobalConfig . ScreenBackground , XPos , YPos , Width , Height ) ; if ( Background != NULL ) { BltImageCompositeBadge ( Background , Image , BadgeImage , XPos , YPos ) ; egFreeImage ( Background ) ; } }
Display an unselected icon on the screen, so that the background image shows
through the transparency areas.
Display an unselected icon on the screen so that the background image shows through the transparency areas .