Searched refs:SkToS16 (Results 1 – 17 of 17) sorted by relevance
131 runs[0] = SkToS16(x);132 runs[x] = SkToS16(n - x);150 runs[0] = SkToS16(x);151 runs[x] = SkToS16(n - x);176 runs[0] = SkToS16(x); in BreakAt()177 runs[x] = SkToS16(n - x); in BreakAt()
45 SkASSERT(SkToS16(x) == x); in SkIntToFDot6()
19 fRuns[0] = SkToS16(width); in reset()
24 int16_t SkToS16(intmax_t x) { in SkToS16() function
185 fixedFilterValues[fixedI] = SkToS16(curFixed); in computeFilters()
81 runs[0] = SkToS16(n); in call_hline_blitter()
453 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
50 fLeft = SkToS16(r.fLeft); in set()51 fTop = SkToS16(r.fTop); in set()52 fRight = SkToS16(r.fRight); in set()53 fBottom = SkToS16(r.fBottom); in set()
414 info->fAscent = SkToS16(dwfm.ascent); in onGetAdvancedTypefaceMetrics()415 info->fDescent = SkToS16(dwfm.descent); in onGetAdvancedTypefaceMetrics()416 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedTypefaceMetrics()
848 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth); in generateMetrics()850 glyph->fWidth = SkToS16(size.cx); in generateMetrics()852 glyph->fHeight = SkToS16(size.cy); in generateMetrics()854 glyph->fTop = SkToS16(-fTM.tmAscent); in generateMetrics()857 glyph->fLeft = SkToS16(0); in generateMetrics()909 glyph->fTop = SkToS16(-gm.gmptGlyphOrigin.y); in generateMetrics()910 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x); in generateMetrics()1805 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent); in onGetAdvancedTypefaceMetrics()1806 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent); in onGetAdvancedTypefaceMetrics()
455 glyph->fLeft = SkToS16(bbox.left); in glyph_check_and_set_bounds()456 glyph->fTop = SkToS16(bbox.top); in glyph_check_and_set_bounds()
1148 glyph->fTop = -SkToS16(SkFDot6Floor(bbox.yMax)); in generateMetrics()1149 glyph->fLeft = SkToS16(SkFDot6Floor(bbox.xMin)); in generateMetrics()1171 glyph->fTop = -SkToS16(fFace->glyph->bitmap_top); in generateMetrics()1172 glyph->fLeft = SkToS16(fFace->glyph->bitmap_left); in generateMetrics()
1135 glyph->fLeft = SkToS16(skIBounds.fLeft); in generateMetrics()1136 glyph->fTop = SkToS16(skIBounds.fTop); in generateMetrics()
262 SK_API int16_t SkToS16(intmax_t);272 #define SkToS16(x) ((int16_t)(x)) macro
31 fX = SkToS16(x); in set()32 fY = SkToS16(y); in set()
29 fFrameCount = SkToS16(frameCount); in reset()
501 SkToS16(32768); in DEF_TEST()502 SkToS16(-32769); in DEF_TEST()