Searched refs:SkFixedRoundToInt (Results 1 – 8 of 8) sorted by relevance
119 dst->fLeft = SkFixedRoundToInt(xr.fLeft); in XRect_round()120 dst->fTop = SkFixedRoundToInt(xr.fTop); in XRect_round()121 dst->fRight = SkFixedRoundToInt(xr.fRight); in XRect_round()122 dst->fBottom = SkFixedRoundToInt(xr.fBottom); in XRect_round()
120 int x = SkFixedRoundToInt(currE->fX); in walk_edges()247 int L = SkFixedRoundToInt(left); in walk_convex_edges()248 int R = SkFixedRoundToInt(rite); in walk_convex_edges()256 int L = SkFixedRoundToInt(left); in walk_convex_edges()257 int R = SkFixedRoundToInt(rite); in walk_convex_edges()
565 return SkToU8(SkFixedRoundToInt(alpha * partialHeight)); in getPartialAlpha()
68 #define SkFixedRoundToInt(x) (((x) + SK_FixedHalf) >> 16) macro
112 int value = SkFixedRoundToInt(scale * (i - min)); in MakeClipTable()
274 int x = SkFixedRoundToInt((SK_Fixed1 * 1000 / 255) * value); in ColorToDecimal()
405 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()
310 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()