Lines Matching defs:bounds

1128   struct grub_video_signed_rect bounds;
1142 if (dx < bounds.x)
1144 bounds.width += bounds.x - dx;
1145 bounds.x = dx;
1147 if (bounds.y > -src->height - dy)
1149 bounds.height += bounds.y - (-src->height - dy);
1150 bounds.y = (-src->height - dy);
1152 if (dx + src->width - bounds.x >= (signed) bounds.width)
1153 bounds.width = dx + src->width - bounds.x + 1;
1154 if ((signed) bounds.height < src->height + (-src->height - dy) - bounds.y)
1155 bounds.height = src->height + (-src->height - dy) - bounds.y;
1172 bounds.x = main_glyph->offset_x;
1173 bounds.y = main_glyph->offset_y;
1174 bounds.width = main_glyph->width;
1175 bounds.height = main_glyph->height;
1178 above_righty = bounds.y + bounds.height;
1181 above_lefty = bounds.y + bounds.height;
1183 below_rightx = bounds.x + bounds.width;
1184 below_righty = bounds.y;
1194 targetx = (bounds.width - combining_glyphs[i]->width) / 2 + bounds.x;
1204 (bounds.height - combining_glyphs[i]->height) / 2
1205 - (bounds.height + bounds.y));
1278 -(bounds.height + bounds.y + space
1310 do_blit (combining_glyphs[i], targetx, -(bounds.y - space));
1358 *bounds_out = bounds;
1364 struct grub_video_signed_rect *bounds,
1418 blit_comb (glyph_id, NULL, bounds, main_glyph, combining_glyphs,
1447 struct grub_video_signed_rect bounds;
1452 &bounds, &combining_glyphs, NULL);
1461 grub_zalloc (sizeof (*glyph) + (bounds.width * bounds.height + 7) / 8);
1469 glyph->width = bounds.width;
1470 glyph->height = bounds.height;
1471 glyph->offset_x = bounds.x;
1472 glyph->offset_y = bounds.y;