Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkScan.h85 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()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp354 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 …]
/external/skia/include/core/
DSkFixed.h60 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function
67 #define SkIntToFixed(n) (SkFixed)((n) << 16) macro
/external/skia/tests/
DClampRangeTest.cpp67 #define ff(x) SkIntToFixed(x)
/external/skia/src/gpu/
DGrAADistanceFieldPathRenderer.cpp475 SkFixed tx = SkIntToFixed(pathData->fAtlasLocation.fX); in writePathVertices()
476 SkFixed ty = SkIntToFixed(pathData->fAtlasLocation.fY); in writePathVertices()
/external/skia/src/ports/
DSkFontHost_win.cpp856 glyph->fAdvanceX = SkIntToFixed(glyph->fWidth); in generateMetrics()
922 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()
923 glyph->fAdvanceY = SkIntToFixed(gm.gmCellIncY); in generateMetrics()
DSkFontMgr_fontconfig.cpp292 return SkFixedRoundToInt(map_ranges_fixed(SkIntToFixed(val), ranges, rangesCount)); in map_ranges()