21#define EFI_HII_FONT_PROTOCOL_GUID \
22{ 0xe9ca4775, 0x8657, 0x47fc, { 0x97, 0xe7, 0x7e, 0xd6, 0x5a, 0x8, 0x43, 0x24 } }
33#define EFI_HII_OUT_FLAG_CLIP 0x00000001
34#define EFI_HII_OUT_FLAG_WRAP 0x00000002
35#define EFI_HII_OUT_FLAG_CLIP_CLEAN_Y 0x00000004
36#define EFI_HII_OUT_FLAG_CLIP_CLEAN_X 0x00000008
37#define EFI_HII_OUT_FLAG_TRANSPARENT 0x00000010
38#define EFI_HII_IGNORE_IF_NO_GLYPH 0x00000020
39#define EFI_HII_IGNORE_LINE_BREAK 0x00000040
40#define EFI_HII_DIRECT_TO_SCREEN 0x00000080
70#define EFI_FONT_INFO_SYS_FONT 0x00000001
71#define EFI_FONT_INFO_SYS_SIZE 0x00000002
72#define EFI_FONT_INFO_SYS_STYLE 0x00000004
73#define EFI_FONT_INFO_SYS_FORE_COLOR 0x00000010
74#define EFI_FONT_INFO_SYS_BACK_COLOR 0x00000020
75#define EFI_FONT_INFO_RESIZE 0x00001000
76#define EFI_FONT_INFO_RESTYLE 0x00002000
77#define EFI_FONT_INFO_ANY_FONT 0x00010000
78#define EFI_FONT_INFO_ANY_SIZE 0x00020000
79#define EFI_FONT_INFO_ANY_STYLE 0x00040000
unsigned short UINT16
2-byte unsigned value.
char CHAR8
1-byte Character
UINT64 UINTN
Unsigned value of native width.
unsigned short CHAR16
2-byte Character.
unsigned int UINT32
4-byte unsigned value.
#define CONST
Datum is read-only.
#define VOID
Undeclared type.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
Graphics Output Protocol from the UEFI 2.0 specification.
UINT32 EFI_FONT_INFO_MASK
Font info flag.
struct _EFI_HII_FONT_PROTOCOL EFI_HII_FONT_PROTOCOL
struct _EFI_HII_ROW_INFO EFI_HII_ROW_INFO
Definition of EFI_HII_ROW_INFO.
EFI_STATUS(EFIAPI * EFI_HII_GET_GLYPH)(IN CONST EFI_HII_FONT_PROTOCOL *This, IN CONST CHAR16 Char, IN CONST EFI_FONT_DISPLAY_INFO *StringInfo, OUT EFI_IMAGE_OUTPUT **Blt, OUT UINTN *Baseline OPTIONAL)
Convert the glyph for a single character into a bitmap.
EFI_GUID gEfiHiiFontProtocolGuid
EFI_STATUS(EFIAPI * EFI_HII_GET_FONT_INFO)(IN CONST EFI_HII_FONT_PROTOCOL *This, IN OUT EFI_FONT_HANDLE *FontHandle, IN CONST EFI_FONT_DISPLAY_INFO *StringInfoIn OPTIONAL, OUT EFI_FONT_DISPLAY_INFO **StringInfoOut, IN CONST EFI_STRING String OPTIONAL)
This function iterates through fonts which match the specified font, using the specified criteria.
struct _EFI_FONT_DISPLAY_INFO EFI_FONT_DISPLAY_INFO
Describes font output-related information.
EFI_STATUS(EFIAPI * EFI_HII_STRING_ID_TO_IMAGE)(IN CONST EFI_HII_FONT_PROTOCOL *This, IN EFI_HII_OUT_FLAGS Flags, IN EFI_HII_HANDLE PackageList, IN EFI_STRING_ID StringId, IN CONST CHAR8 *Language, IN CONST EFI_FONT_DISPLAY_INFO *StringInfo OPTIONAL, IN OUT EFI_IMAGE_OUTPUT **Blt, IN UINTN BltX, IN UINTN BltY, OUT EFI_HII_ROW_INFO **RowInfoArray OPTIONAL, OUT UINTN *RowInfoArraySize OPTIONAL, OUT UINTN *ColumnInfoArray OPTIONAL)
This function renders a string as a bitmap or to the screen and can clip or wrap the string.
UINT32 EFI_HII_OUT_FLAGS
EFI_HII_OUT_FLAGS.
EFI_STATUS(EFIAPI * EFI_HII_STRING_TO_IMAGE)(IN CONST EFI_HII_FONT_PROTOCOL *This, IN EFI_HII_OUT_FLAGS Flags, IN CONST EFI_STRING String, IN CONST EFI_FONT_DISPLAY_INFO *StringInfo, IN OUT EFI_IMAGE_OUTPUT **Blt, IN UINTN BltX, IN UINTN BltY, OUT EFI_HII_ROW_INFO **RowInfoArray OPTIONAL, OUT UINTN *RowInfoArraySize OPTIONAL, OUT UINTN *ColumnInfoArray OPTIONAL)
This function renders a string to a bitmap or the screen using the specified font,...
The file provides services to access to images in the images database.
struct _EFI_IMAGE_OUTPUT EFI_IMAGE_OUTPUT
Definition of EFI_IMAGE_OUTPUT.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
EFI_HII_FONT_STYLE FontStyle
UINT16 FontSize
character cell height in pixels
Describes font output-related information.
EFI_GRAPHICS_OUTPUT_BLT_PIXEL ForegroundColor
EFI_GRAPHICS_OUTPUT_BLT_PIXEL BackgroundColor
EFI_FONT_INFO_MASK FontInfoMask
The protocol provides the service to retrieve the font informations.
EFI_HII_STRING_TO_IMAGE StringToImage
EFI_HII_GET_FONT_INFO GetFontInfo
EFI_HII_STRING_ID_TO_IMAGE StringIdToImage
EFI_HII_GET_GLYPH GetGlyph
Definition of EFI_HII_ROW_INFO.
UINTN StartIndex
The index of the first character in the string which is displayed on the line.
UINTN LineHeight
The height of the line, in pixels.
UINTN BaselineOffset
The font baseline offset in pixels from the bottom of the row, or 0 if none.
UINTN LineWidth
The width of the text on the line, in pixels.
UINTN EndIndex
The index of the last character in the string which is displayed on the line.