Lines Matching refs:bounds
33 struct grub_video_signed_rect bounds;
44 - if (max_glyph_size < sizeof (*glyph) + (bounds.width * bounds.height + GRUB_CHAR_BIT - 1) / GRUB…
45 + if (grub_video_bitmap_calc_1bpp_bufsz (bounds.width, bounds.height, &cur_glyph_size) ||
52 - max_glyph_size = (sizeof (*glyph) + (bounds.width * bounds.height + GRUB_CHAR_BIT - 1) / GRU…
68 - + (bounds.width * bounds.height
73 - glyph->width = bounds.width;
74 - glyph->height = bounds.height;
75 - glyph->offset_x = bounds.x;
76 - glyph->offset_y = bounds.y;
77 + if (bounds.width == 0 || bounds.height == 0 ||
78 + grub_cast (bounds.width, &glyph->width) ||
79 + grub_cast (bounds.height, &glyph->height) ||
80 + grub_cast (bounds.x, &glyph->offset_x) ||
81 + grub_cast (bounds.y, &glyph->offset_y))