Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScan.h89 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()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp356 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 …]
/external/skia/include/core/
DSkFixed.h59 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function
70 #define SkIntToFixed(n) (SkFixed)((unsigned)(n) << 16) macro
/external/skia/tests/
DClampRangeTest.cpp67 #define ff(x) SkIntToFixed(x)
/external/skia/src/ports/
DSkFontHost_win.cpp858 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth); in generateMetrics()
924 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()
925 glyph->fAdvanceY = SkIntToFixed(gm.gmCellIncY); in generateMetrics()
DSkFontMgr_fontconfig.cpp300 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()