Lines Matching refs:src
1057 struct grub_font_glyph *src, unsigned dx, unsigned dy)
1061 for (i = 0; i < src->height; i++)
1063 src_bit = (src->width * i) % 8;
1064 src_byte = (src->width * i) / 8;
1067 for (j = 0; j < src->width; j++)
1069 target->bitmap[tgt_byte] |= ((src->bitmap[src_byte] << src_bit)
1089 struct grub_font_glyph *src,
1095 for (i = 0; i < src->height; i++)
1097 src_bit = (src->width * i + src->width - 1) % 8;
1098 src_byte = (src->width * i + src->width - 1) / 8;
1101 for (j = 0; j < src->width; j++)
1103 target->bitmap[tgt_byte] |= ((src->bitmap[src_byte] << src_bit)
1134 auto void NESTED_FUNC_ATTR do_blit (struct grub_font_glyph *src,
1136 void NESTED_FUNC_ATTR do_blit (struct grub_font_glyph *src,
1140 grub_font_blit_glyph (glyph, src, dx - glyph->offset_x,
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;