Searched refs:SkIntToFixed (Results 1 – 7 of 7) sorted by relevance
85 xr->fLeft = SkIntToFixed(src.fLeft); in XRect_set()86 xr->fTop = SkIntToFixed(src.fTop); in XRect_set()87 xr->fRight = SkIntToFixed(src.fRight); in XRect_set()88 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set()
354 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache()355 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()356 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build16bitCache()358 r = SkIntToFixed(r) + 0x8000; in Build16bitCache()359 g = SkIntToFixed(g) + 0x8000; in Build16bitCache()360 b = SkIntToFixed(b) + 0x8000; in Build16bitCache()424 SkFixed da = SkIntToFixed(a1 - a0) / (count - 1); in Build32bitCache()425 SkFixed dr = SkIntToFixed(r1 - r0) / (count - 1); in Build32bitCache()426 SkFixed dg = SkIntToFixed(g1 - g0) / (count - 1); in Build32bitCache()427 SkFixed db = SkIntToFixed(b1 - b0) / (count - 1); in Build32bitCache()[all …]
60 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function67 #define SkIntToFixed(n) (SkFixed)((n) << 16) macro
67 #define ff(x) SkIntToFixed(x)
475 SkFixed tx = SkIntToFixed(pathData->fAtlasLocation.fX); in writePathVertices()476 SkFixed ty = SkIntToFixed(pathData->fAtlasLocation.fY); in writePathVertices()
856 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth); in generateMetrics()922 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()923 glyph->fAdvanceY = SkIntToFixed(gm.gmCellIncY); in generateMetrics()
292 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()