Searched refs:SkIntToFixed (Results 1 – 6 of 6) sorted by relevance
89 xr->fLeft = SkIntToFixed(src.fLeft); in XRect_set()90 xr->fTop = SkIntToFixed(src.fTop); in XRect_set()91 xr->fRight = SkIntToFixed(src.fRight); in XRect_set()92 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set()
356 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache()357 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()358 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build16bitCache()360 r = SkIntToFixed(r) + 0x8000; in Build16bitCache()361 g = SkIntToFixed(g) + 0x8000; in Build16bitCache()362 b = SkIntToFixed(b) + 0x8000; in Build16bitCache()440 SkFixed da = SkIntToFixed(a1 - a0) / (count - 1); in Build32bitCache()441 SkFixed dr = SkIntToFixed(r1 - r0) / (count - 1); in Build32bitCache()442 SkFixed dg = SkIntToFixed(g1 - g0) / (count - 1); in Build32bitCache()443 SkFixed db = SkIntToFixed(b1 - b0) / (count - 1); in Build32bitCache()[all …]
59 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function70 #define SkIntToFixed(n) (SkFixed)((unsigned)(n) << 16) macro
67 #define ff(x) SkIntToFixed(x)
858 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth); in generateMetrics()924 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()925 glyph->fAdvanceY = SkIntToFixed(gm.gmCellIncY); in generateMetrics()
300 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()