Home | History | Annotate | Download | only in HiiDatabaseDxe

Lines Matching defs:Cell

43   Insert a character cell information to the list specified by GlyphInfoList.

50 @param Cell Incoming character cell information.
52 @retval EFI_SUCCESS Cell information is added to the GlyphInfoList.
61 IN EFI_HII_GLYPH_INFO *Cell
66 ASSERT (Cell != NULL && GlyphInfoList != NULL);
74 // GlyphInfoList stores a list of default character cell information, each is
79 if (Cell->AdvanceX == 0) {
80 Cell->AdvanceX = Cell->Width;
82 CopyMem (&GlyphInfo->Cell, Cell, sizeof (EFI_HII_GLYPH_INFO));
90 Get a character cell information from the list specified by GlyphInfoList.
97 @param Cell Buffer which stores output character cell
100 @retval EFI_SUCCESS Cell information is added to the GlyphInfoList.
109 OUT EFI_HII_GLYPH_INFO *Cell
115 ASSERT (Cell != NULL && GlyphInfoList != NULL);
119 // the value of "CharId" of a default character cell which is used for a
130 CopyMem (Cell, &GlyphInfo->Cell, sizeof (EFI_HII_GLYPH_INFO));
150 @param Cell Points to EFI_HII_GLYPH_INFO structure.
165 OUT EFI_HII_GLYPH_INFO *Cell,
181 if (GlyphBuffer == NULL || Cell == NULL) {
188 ZeroMem (Cell, sizeof (EFI_HII_GLYPH_INFO));
203 return FindGlyphBlock (GlobalFont->FontPackage, Char, GlyphBuffer, Cell, NULL);
225 Cell->Width = EFI_GLYPH_WIDTH;
226 Cell->Height = EFI_GLYPH_HEIGHT;
227 Cell->AdvanceX = Cell->Width;
228 CopyMem (*GlyphBuffer, Narrow.GlyphCol1, Cell->Height);
246 Cell->Width = EFI_GLYPH_WIDTH * 2;
247 Cell->Height = EFI_GLYPH_HEIGHT;
248 Cell->AdvanceX = Cell->Width;
356 @param Cell Points to EFI_HII_GLYPH_INFO structure.
374 IN CONST EFI_HII_GLYPH_INFO *Cell,
387 ASSERT (Origin != NULL && *Origin != NULL && Cell != NULL);
393 *Origin = *Origin + Cell->AdvanceX;
399 BltBuffer = *Origin + Cell->OffsetX - (Cell->OffsetY + Cell->Height) * ImageWidth;
400 YposOffset = (UINT16) (BaseLine - (Cell->OffsetY + Cell->Height));
414 for (Ypos = 0; Ypos < Cell->Height && ((UINTN) (Ypos + YposOffset) < RowHeight); Ypos++) {
415 OffsetY = BITMAP_LEN_1_BIT (Cell->Width, Ypos);
420 for (Xpos = 0; Xpos < Cell->Width / 8; Xpos++) {
422 for (Index = 0; Index < 8 && ((UINTN) (Xpos * 8 + Index + Cell->OffsetX) < RowWidth); Index++) {
433 if (Cell->Width % 8 != 0) {
438 for (Index = 0; Index < Cell->Width % 8 && ((UINTN) (Xpos * 8 + Index + Cell->OffsetX) < RowWidth); Index++) {
451 *Origin = *Origin + Cell->AdvanceX;
472 @param Cell Points to EFI_HII_GLYPH_INFO structure.
491 IN CONST EFI_HII_GLYPH_INFO *Cell,
498 ASSERT (Origin != NULL && *Origin != NULL && Cell != NULL);
507 Buffer -= Cell->AdvanceX;
517 Cell,
566 // This character is proportional glyph, i.e. Cell->Width * Cell->Height pixels.
577 Cell,
593 @param InputCell Buffer which stores cell information of the
598 @param Cell Output cell information of the encoded bitmap.
613 OUT EFI_HII_GLYPH_INFO *Cell, OPTIONAL
621 if (Cell != NULL) {
622 CopyMem (Cell, InputCell, sizeof (EFI_HII_GLYPH_INFO));
643 If CharValue = (CHAR16) (-1), collect all default character cell information
652 @param Cell Output cell information of the encoded bitmap.
667 OUT EFI_HII_GLYPH_INFO *Cell, OPTIONAL
691 // Collect the cell information specified in font package fixed header.
692 // Use CharValue =0 to represent this particular cell.
721 // Collect all default character cell information specified by
800 Cell,
810 CopyMem (&Glyphs.Cell, BlockPtr, sizeof (EFI_HII_GLYPH_INFO));
816 if (BaseLine < Glyphs.Cell.Height + Glyphs.Cell.OffsetY) {
817 BaseLine = (UINT16) (Glyphs.Cell.Height + Glyphs.Cell.OffsetY);
819 if (MinOffsetY > Glyphs.Cell.OffsetY) {
820 MinOffsetY = Glyphs.Cell.OffsetY;
824 BufferLen = BITMAP_LEN_1_BIT (Glyphs.Cell.Width, Glyphs.Cell.Height);
830 &Glyphs.Cell,
832 Cell,
854 Cell,
877 Cell,
961 @retval EFI_SUCCESS Cell information is added to the GlyphInfoList.
1530 of the image of the first character cell in the
1533 of the image of the first character cell in the
1581 EFI_HII_GLYPH_INFO *Cell;
1677 Cell = (EFI_HII_GLYPH_INFO *) AllocateZeroPool (StrLength * sizeof (EFI_HII_GLYPH_INFO));
1678 ASSERT (Cell != NULL);
1790 Status = GetGlyphBuffer (Private, *StringPtr, FontInfo, &GlyphBuf[Index], &Cell[Index], &Attributes[Index]);
1794 ZeroMem (&Cell[Index], sizeof (Cell[Index]));
1805 &Cell[Index],
1893 LineWidth += (UINTN) Cell[Index].AdvanceX;
1917 LineWidth -= (UINTN) (Cell[Index].AdvanceX - Cell[Index].Width - Cell[Index].OffsetX);
1940 LineWidth -= (UINTN) (Cell[Index].Width + Cell[Index].OffsetX);
1941 LineWidth -= (UINTN) (Cell[Index - 1].AdvanceX - Cell[Index - 1].Width - Cell[Index - 1].OffsetX);
1968 LineWidth -= (Cell[Index1].Width + Cell[Index1].OffsetX);
1970 LineWidth -= Cell[Index1].AdvanceX;
1998 LineWidth -= (UINTN) (Cell[Index1 - 1].AdvanceX - Cell[Index1 - 1].Width - Cell[Index1 - 1].OffsetX);
2015 LineWidth -= (UINTN) (Cell[Index1].Width + Cell[Index1].OffsetX);
2016 LineWidth -= (UINTN) (Cell[Index1 - 1].AdvanceX - Cell[Index1 - 1].Width - Cell[Index1 - 1].OffsetX);
2070 &Cell[Index1],
2076 if ((GlyphBuf[Index1] == NULL && Cell[Index1].AdvanceX == 0)
2080 *ColumnInfoArray = LineOffset + Cell[Index1].OffsetX + BltX;
2084 LineOffset += Cell[Index1].AdvanceX;
2130 &Cell[Index1],
2136 if ((GlyphBuf[Index1] == NULL && Cell[Index1].AdvanceX == 0)
2140 *ColumnInfoArray = LineOffset + Cell[Index1].OffsetX + BltX;
2144 LineOffset += Cell[Index1].AdvanceX;
2222 if (Cell != NULL) {
2223 FreePool (Cell);
2259 of the image of the first character cell in the
2262 of the image of the first character cell in the
2545 EFI_HII_GLYPH_INFO Cell;
2600 Status = GetGlyphBuffer (Private, Char, FontInfo, &GlyphBuffer, &Cell, &Attributes);
2610 Image->Width = Cell.Width;
2611 Image->Height = Cell.Height;
2624 BaseLine = (UINT16) (Cell.Height + Cell.OffsetY);
2628 BltBuffer = Image->Image.Bitmap + (Cell.Height + Cell.OffsetY) * Image->Width - Cell.OffsetX;
2635 Cell.Width + Cell.OffsetX,
2636 BaseLine - Cell.OffsetY,
2638 &Cell,
2646 *Baseline = Cell.OffsetY;