12 #ifndef __HII_FONT_H__ 13 #define __HII_FONT_H__ 20 #define EFI_HII_FONT_PROTOCOL_GUID \ 21 { 0xe9ca4775, 0x8657, 0x47fc, { 0x97, 0xe7, 0x7e, 0xd6, 0x5a, 0x8, 0x43, 0x24 } } 32 #define EFI_HII_OUT_FLAG_CLIP 0x00000001 33 #define EFI_HII_OUT_FLAG_WRAP 0x00000002 34 #define EFI_HII_OUT_FLAG_CLIP_CLEAN_Y 0x00000004 35 #define EFI_HII_OUT_FLAG_CLIP_CLEAN_X 0x00000008 36 #define EFI_HII_OUT_FLAG_TRANSPARENT 0x00000010 37 #define EFI_HII_IGNORE_IF_NO_GLYPH 0x00000020 38 #define EFI_HII_IGNORE_LINE_BREAK 0x00000040 39 #define EFI_HII_DIRECT_TO_SCREEN 0x00000080 69 #define EFI_FONT_INFO_SYS_FONT 0x00000001 70 #define EFI_FONT_INFO_SYS_SIZE 0x00000002 71 #define EFI_FONT_INFO_SYS_STYLE 0x00000004 72 #define EFI_FONT_INFO_SYS_FORE_COLOR 0x00000010 73 #define EFI_FONT_INFO_SYS_BACK_COLOR 0x00000020 74 #define EFI_FONT_INFO_RESIZE 0x00001000 75 #define EFI_FONT_INFO_RESTYLE 0x00002000 76 #define EFI_FONT_INFO_ANY_FONT 0x00010000 77 #define EFI_FONT_INFO_ANY_SIZE 0x00020000 78 #define EFI_FONT_INFO_ANY_STYLE 0x00040000 #define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
EFI_HII_STRING_TO_IMAGE StringToImage
UINTN BaselineOffset
The font baseline offset in pixels from the bottom of the row, or 0 if none.
UINT32 EFI_FONT_INFO_MASK
Font info flag.
EFI_FONT_INFO_MASK FontInfoMask
EFI_HII_STRING_ID_TO_IMAGE StringIdToImage
UINTN StartIndex
The index of the first character in the string which is displayed on the line.
128 bit buffer containing a unique identifier value.
EFI_HII_GET_GLYPH GetGlyph
UINT16 FontSize
character cell height in pixels
EFI_HII_GET_FONT_INFO GetFontInfo
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,...
struct _EFI_FONT_DISPLAY_INFO EFI_FONT_DISPLAY_INFO
Describes font output-related information.
UINTN EndIndex
The index of the last character in the string which is displayed on the line.
EFI_GUID gEfiHiiFontProtocolGuid
EFI_HII_FONT_STYLE FontStyle
UINT32 EFI_HII_OUT_FLAGS
EFI_HII_OUT_FLAGS.
struct _EFI_HII_ROW_INFO EFI_HII_ROW_INFO
Definition of EFI_HII_ROW_INFO.
Definition of EFI_HII_ROW_INFO.
UINTN LineWidth
The width of the text on the line, in pixels.
FILE_LICENCE(BSD2_PATENT)
Describes font output-related information.
UINT64 UINTN
Unsigned value of native width.
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.
#define VOID
Undeclared type.
Graphics Output Protocol from the UEFI 2.0 specification.
EFI_GRAPHICS_OUTPUT_BLT_PIXEL BackgroundColor
#define CONST
Datum is read-only.
The protocol provides the service to retrieve the font informations.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
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.
UINTN LineHeight
The height of the line, in pixels.
EFI_GRAPHICS_OUTPUT_BLT_PIXEL ForegroundColor
Definition of EFI_IMAGE_OUTPUT.
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.
The file provides services to access to images in the images database.