Searched refs:STBTT_ifloor (Results 1 – 2 of 2) sorted by relevance
395 #ifndef STBTT_ifloor397 #define STBTT_ifloor(x) ((int) floor(x)) macro1573 if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); in stbtt_GetGlyphBitmapBoxSubpixel()1574 if (iy0) *iy0 = STBTT_ifloor(-y1 * scale_y + shift_y); in stbtt_GetGlyphBitmapBoxSubpixel()1684 z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); in stbtt__new_active()1686 z->dx = STBTT_ifloor(STBTT_FIX * dxdy); in stbtt__new_active()1688 …z->x = STBTT_ifloor(STBTT_FIX * e->x0 + z->dx * (start_point - e->y0)); // use z->dx so when we of… in stbtt__new_active()2565 int round_x = STBTT_ifloor((*xpos + b->xoff) + 0.5f); in stbtt_GetBakedQuad()2566 int round_y = STBTT_ifloor((*ypos + b->yoff) + 0.5f); in stbtt_GetBakedQuad()3016 float x = (float) STBTT_ifloor((*xpos + b->xoff) + 0.5f); in stbtt_GetPackedQuad()[all …]
63 #define STBTT_ifloor tt_floor macro