Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScan.h109 dst->fLeft = SkFixedRoundToInt(xr.fLeft); in XRect_round()
110 dst->fTop = SkFixedRoundToInt(xr.fTop); in XRect_round()
111 dst->fRight = SkFixedRoundToInt(xr.fRight); in XRect_round()
112 dst->fBottom = SkFixedRoundToInt(xr.fBottom); in XRect_round()
DSkScan_Path.cpp156 int x = SkFixedRoundToInt(currE->fX); in walk_edges()
283 int L = SkFixedRoundToInt(left); in walk_convex_edges()
284 int R = SkFixedRoundToInt(rite); in walk_convex_edges()
292 int L = SkFixedRoundToInt(left); in walk_convex_edges()
293 int R = SkFixedRoundToInt(rite); in walk_convex_edges()
DSkString.cpp168 x = SkFixedRoundToInt(frac * 10000); in SkStrAppendFixed()
/external/skia/include/core/
DSkFixed.h73 #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/ports/
DSkFontMgr_fontconfig.cpp300 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()