Searched refs:SkIntToFixed (Results 1 – 13 of 13) sorted by relevance
22 skclip.set(SkIntToFixed(284), SkIntToFixed(40), SkIntToFixed(1370), SkIntToFixed(708)); in DrawRoundRect()
64 skclip.set(SkIntToFixed(284), SkIntToFixed(40), SkIntToFixed(1370), SkIntToFixed(708)); in DrawRoundRect()
92 xr->fLeft = SkIntToFixed(src.fLeft); in XRect_set()93 xr->fTop = SkIntToFixed(src.fTop); in XRect_set()94 xr->fRight = SkIntToFixed(src.fRight); in XRect_set()95 xr->fBottom = SkIntToFixed(src.fBottom); in XRect_set()
72 inline SkFixed SkIntToFixed(int n) in SkIntToFixed() function79 #define SkIntToFixed(n) (SkFixed)((n) << 16) macro
229 #define SkIntToScalar(n) SkIntToFixed(n)
146 glyph->fAdvanceX = SkIntToFixed(adv); in generateMetrics()147 glyph->fAdvanceY = SkIntToFixed(0); in generateMetrics()
423 glyph->fAdvanceX = SkIntToFixed(gm.gmCellIncX); in generateMetrics()424 glyph->fAdvanceY = -SkIntToFixed(gm.gmCellIncY); in generateMetrics()
477 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache()478 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()479 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build16bitCache()481 r = SkIntToFixed(r) + 0x8000; in Build16bitCache()482 g = SkIntToFixed(g) + 0x8000; in Build16bitCache()483 b = SkIntToFixed(b) + 0x8000; in Build16bitCache()525 da = SkIntToFixed(tmp - a) / (count - 1); in Build32bitCache()531 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build32bitCache()532 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build32bitCache()533 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build32bitCache()[all …]
29 #define GrIntToFixed(a) SkIntToFixed(a)
82 #define ff(x) SkIntToFixed(x)
199 SkFixed lineHeight = SkIntToFixed(bottom() - top()); in addNewLine()264 SkFixed ceilWidth = SkIntToFixed(SkScalarCeil(firstWidth)); in isSpace()266 SkFixed ceilSpace = SkIntToFixed(SkFixedCeil(minSpaceWidth(mLastPaint))); in isSpace()
2467 rec.fLSB.set(SkIntToFixed(x), SkIntToFixed(y)); in doIRectGlyph()
1203 return SkIntToFixed(15 - clz) + ((unsigned)(sx << (clz + 1)) >> 16); in ComputeMipLevel()