Searched refs:xpos (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | console_truetype.c | 199 double xpos, x_shift; in console_truetype_putc_xy() local 215 xpos = frac(VID_TO_PIXEL((double)x)); in console_truetype_putc_xy() 217 xpos += priv->scale * stbtt_GetCodepointKernAdvance(font, in console_truetype_putc_xy() 227 x_shift = xpos - (double)tt_floor(xpos); in console_truetype_putc_xy() 228 xpos += advance * priv->scale; in console_truetype_putc_xy() 229 width_frac = (int)VID_TO_POS(xpos); in console_truetype_putc_xy()
|
| H A D | stb_truetype.h | 335 float scale, xpos=2; // leave a little padding in case the character extends left 347 float x_shift = xpos - (float) floor(xpos); 350 …stbtt_MakeCodepointBitmapSubpixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79,… 355 xpos += (advance * scale); 357 xpos += scale*stbtt_GetCodepointKernAdvance(&font, text[ch],text[ch+1]); 486 … float *xpos, float *ypos, // pointers to current position in screen pixel space 586 … float *xpos, float *ypos, // pointers to current position in screen pixel space 2560 …kedQuad(stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt… in stbtt_GetBakedQuad() argument 2565 int round_x = STBTT_ifloor((*xpos + b->xoff) + 0.5f); in stbtt_GetBakedQuad() 2578 *xpos += b->xadvance; in stbtt_GetBakedQuad() [all …]
|
| H A D | cfb_console.c | 1517 int xpos = x; in video_display_bitmap() local 1524 fill_555rgb_pswap(fb, xpos++, cte.red, in video_display_bitmap() 1603 int xpos = x; in video_display_bitmap() local 1609 fill_555rgb_pswap(fb, xpos++, bmap[2], in video_display_bitmap() 1776 int xpos = x; in plot_logo_or_black() local 1801 fill_555rgb_pswap(dest, xpos++, r, g, b); in plot_logo_or_black()
|