Home
last modified time | relevance | path

Searched refs:SkFixedRoundToInt (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkScan.h119 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()
DSkScan_Path.cpp120 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()
DSkScan_AAAPath.cpp565 return SkToU8(SkFixedRoundToInt(alpha * partialHeight)); in getPartialAlpha()
/external/skia/include/private/
DSkFixed.h68 #define SkFixedRoundToInt(x) (((x) + SK_FixedHalf) >> 16) macro
/external/skia/src/effects/
DSkTableMaskFilter.cpp112 int value = SkFixedRoundToInt(scale * (i - min)); in MakeClipTable()
/external/skia/src/pdf/
DSkPDFUtils.cpp274 int x = SkFixedRoundToInt((SK_Fixed1 * 1000 / 255) * value); in ColorToDecimal()
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp405 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()
DSkFontMgr_fontconfig.cpp310 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()