Searched refs:SkIntToFixed (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkScan.h | 99 xr->fLeft = SkIntToFixed(src.fLeft); in XRect_set() 100 xr->fTop = SkIntToFixed(src.fTop); in XRect_set() 101 xr->fRight = SkIntToFixed(src.fRight); in XRect_set() 102 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set()
|
D | SkScan_AAAPath.cpp | 739 SkFixed first = SkIntToFixed(uL) + SK_Fixed1 - ul; in blit_aaa_trapezoid_row() 746 computeAlphaBelowLine(tempAlphas + uL - L, ul - SkIntToFixed(uL), ll - SkIntToFixed(uL), in blit_aaa_trapezoid_row() 760 SkFixed first = SkIntToFixed(uR) + SK_Fixed1 - ur; in blit_aaa_trapezoid_row() 767 computeAlphaAboveLine(tempAlphas + uR - L, ur - SkIntToFixed(uR), lr - SkIntToFixed(uR), in blit_aaa_trapezoid_row() 923 SkFixed y = SkIntToFixed(-32768); in validate_sort() 1063 local_bot_fixed = SkMin32(local_bot_fixed, SkIntToFixed(stop_y)); in aaa_walk_convex_edges() 1072 SkFixed partialLeft = SkIntToFixed(fullLeft) - left; in aaa_walk_convex_edges() 1073 SkFixed partialRite = rite - SkIntToFixed(fullRite); in aaa_walk_convex_edges() 1076 SkFixed partialTop = SkIntToFixed(fullTop) - y; in aaa_walk_convex_edges() 1077 SkFixed partialBot = local_bot_fixed - SkIntToFixed(fullBot); in aaa_walk_convex_edges() [all …]
|
/external/skia/include/private/ |
D | SkFixed.h | 54 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function 65 #define SkIntToFixed(n) (SkFixed)((unsigned)(n) << 16) macro
|
/external/skia/tests/ |
D | ClampRangeTest.cpp | 67 #define ff(x) SkIntToFixed(x)
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 615 SkFixed da = SkIntToFixed(a1 - a0) / (count - 1); in Build32bitCache() 616 SkFixed dr = SkIntToFixed(r1 - r0) / (count - 1); in Build32bitCache() 617 SkFixed dg = SkIntToFixed(g1 - g0) / (count - 1); in Build32bitCache() 618 SkFixed db = SkIntToFixed(b1 - b0) / (count - 1); in Build32bitCache() 631 SkUFixed a = SkIntToFixed(a0) + bias0; in Build32bitCache() 632 SkUFixed r = SkIntToFixed(r0) + bias0; in Build32bitCache() 633 SkUFixed g = SkIntToFixed(g0) + bias0; in Build32bitCache() 634 SkUFixed b = SkIntToFixed(b0) + bias0; in Build32bitCache()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 405 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()
|
D | SkFontMgr_fontconfig.cpp | 310 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()
|