update the file description of PrintXY and AsciiPrintXY. and also refine the implementation to return the number of actual printed characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8373 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-05-21 10:04:21 +00:00
parent d9e63d93d5
commit 57b201b843
1 changed files with 12 additions and 8 deletions

View File

@ -528,9 +528,11 @@ Error:
by the right edge of the display. If the length of the formatted Unicode string is by the right edge of the display. If the length of the formatted Unicode string is
greater than PcdUefiLibMaxPrintBufferSize, then at most the first greater than PcdUefiLibMaxPrintBufferSize, then at most the first
PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL
is used to convert the string to a bitmap using the glyphs registered with the StringToImage() service is used to convert the string to a bitmap using the glyphs
HII database. No wrapping is performed, so any portions of the string the fall registered with the HII database. No wrapping is performed, so any portions of the
outside the active display region will not be displayed. string the fall outside the active display region will not be displayed. Please see
Section 27.2.6 of the UEFI Specification for a description of the supported string
format including the set of control codes supported by the StringToImage() service.
If a graphics console device is not associated with the ConsoleOutputHandle If a graphics console device is not associated with the ConsoleOutputHandle
defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned. defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.
@ -603,9 +605,11 @@ PrintXY (
by the right edge of the display. If the length of the formatted ASCII string is by the right edge of the display. If the length of the formatted ASCII string is
greater than PcdUefiLibMaxPrintBufferSize, then at most the first greater than PcdUefiLibMaxPrintBufferSize, then at most the first
PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL
is used to convert the string to a bitmap using the glyphs registered with the StringToImage() service is used to convert the string to a bitmap using the glyphs
HII database. No wrapping is performed, so any portions of the string the fall registered with the HII database. No wrapping is performed, so any portions of the
outside the active display region will not be displayed. string the fall outside the active display region will not be displayed. Please see
Section 27.2.6 of the UEFI Specification for a description of the supported string
format including the set of control codes supported by the StringToImage() service.
If a graphics console device is not associated with the ConsoleOutputHandle If a graphics console device is not associated with the ConsoleOutputHandle
defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned. defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.