Searched refs:SK_FixedHalf (Results 1 – 6 of 6) sorted by relevance
22 #define SK_FixedHalf (1 << 15) macro73 #define SkFixedRoundToInt(x) (((x) + SK_FixedHalf) >> 16)77 #define SkFixedRoundToFixed(x) (((x) + SK_FixedHalf) & 0xFFFF0000)
401 top = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()402 bottom = SkFixedCeilToInt(fstart + (istop - istart - 1) * slope + SK_FixedHalf); in do_anti_hairline()404 bottom = SkFixedCeilToInt(fstart + SK_FixedHalf); in do_anti_hairline()405 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()477 left = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()478 right = SkFixedCeilToInt(fstart + (istop - istart - 1) * slope + SK_FixedHalf); in do_anti_hairline()480 right = SkFixedCeilToInt(fstart + SK_FixedHalf); in do_anti_hairline()481 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
54 static const SkFixed kSubpixelRound = SK_FixedHalf >> SkGlyph::kSubBits;
462 fRadius = SK_FixedHalf; in init()515 if (fRadius <= SK_FixedHalf) { // small radii and hairline in chooseProc()
55 SkFixed delThresh = -SK_FixedHalf; in onDraw()
275 case SkPaint::kCenter_Align: origin = SK_FixedHalf; break; in DrawDFText()