Searched refs:SK_FixedHalf (Results 1 – 4 of 4) sorted by relevance
25 #define SK_FixedHalf (1 << 15) macro68 #define SkFixedRoundToInt(x) (((x) + SK_FixedHalf) >> 16)73 return (x + SK_FixedHalf) & 0xFFFF0000; in SkFixedRoundToFixed()
400 top = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()401 bottom = SkFixedCeilToInt(fstart + (istop - istart - 1) * slope + SK_FixedHalf); in do_anti_hairline()403 bottom = SkFixedCeilToInt(fstart + SK_FixedHalf); in do_anti_hairline()404 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()476 left = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()477 right = SkFixedCeilToInt(fstart + (istop - istart - 1) * slope + SK_FixedHalf); in do_anti_hairline()479 right = SkFixedCeilToInt(fstart + SK_FixedHalf); in do_anti_hairline()480 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
146 static const SkFixed kSubpixelRound = SK_FixedHalf >> SkPackedID::kSubBits;
434 fRadius = SK_FixedHalf; in init()487 if (fRadius <= SK_FixedHalf) { // small radii and hairline in chooseProc()