Home
last modified time | relevance | path

Searched refs:SK_FixedHalf (Results 1 – 6 of 6) sorted by relevance

/external/skia/include/core/
DSkFixed.h22 #define SK_FixedHalf (1 << 15) macro
73 #define SkFixedRoundToInt(x) (((x) + SK_FixedHalf) >> 16)
77 #define SkFixedRoundToFixed(x) (((x) + SK_FixedHalf) & 0xFFFF0000)
/external/skia/src/core/
DSkScan_Antihair.cpp401 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()
DSkGlyph.h54 static const SkFixed kSubpixelRound = SK_FixedHalf >> SkGlyph::kSubBits;
DSkDraw.cpp462 fRadius = SK_FixedHalf; in init()
515 if (fRadius <= SK_FixedHalf) { // small radii and hairline in chooseProc()
/external/skia/bench/
DGrMemoryPoolBench.cpp55 SkFixed delThresh = -SK_FixedHalf; in onDraw()
/external/skia/src/gpu/text/
DGrTextUtils.cpp275 case SkPaint::kCenter_Align: origin = SK_FixedHalf; break; in DrawDFText()