Searched refs:SkToS16 (Results 1 – 18 of 18) sorted by relevance
136 runs[0] = SkToS16(x);137 runs[x] = SkToS16(n - x);155 runs[0] = SkToS16(x);156 runs[x] = SkToS16(n - x);181 runs[0] = SkToS16(x); in BreakAt()182 runs[x] = SkToS16(n - x); in BreakAt()
18 fRuns[0] = SkToS16(width); in reset()
45 SkASSERT(SkToS16(x) == x); in SkIntToFDot6()
183 fixedFilterValues[fixedI] = SkToS16(curFixed); in computeFilters()
80 runs[0] = SkToS16(n); in call_hline_blitter()
452 ((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()
373 builder[1] = SkToS16(bounds.fLeft) | (SkToS16(bounds.fRight) << 16); in create_clip_mask_key()374 builder[2] = SkToS16(bounds.fTop) | (SkToS16(bounds.fBottom) << 16); in create_clip_mask_key()
335 info->fAscent = SkToS16(dwfm.ascent); in onGetAdvancedMetrics()336 info->fDescent = SkToS16(dwfm.descent); in onGetAdvancedMetrics()337 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedMetrics()
857 glyph->fWidth = SkToS16(fTM.tmMaxCharWidth); in generateMetrics()859 glyph->fWidth = SkToS16(size.cx); in generateMetrics()861 glyph->fHeight = SkToS16(size.cy); in generateMetrics()863 glyph->fTop = SkToS16(-fTM.tmAscent); in generateMetrics()866 glyph->fLeft = SkToS16(0); in generateMetrics()918 glyph->fTop = SkToS16(-gm.gmptGlyphOrigin.y); in generateMetrics()919 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x); in generateMetrics()1793 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent); in onGetAdvancedMetrics()1794 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent); in onGetAdvancedMetrics()
1134 glyph->fTop = -SkToS16(SkFDot6Floor(bbox.yMax)); in generateMetrics()1135 glyph->fLeft = SkToS16(SkFDot6Floor(bbox.xMin)); in generateMetrics()1168 glyph->fTop = SkToS16(irect.top()); in generateMetrics()1169 glyph->fLeft = SkToS16(irect.left()); in generateMetrics()
510 glyph->fLeft = SkToS16(bbox.left); in glyph_check_and_set_bounds()511 glyph->fTop = SkToS16(bbox.top); in glyph_check_and_set_bounds()
1047 glyph->fLeft = SkToS16(skIBounds.fLeft); in generateMetrics()1048 glyph->fTop = SkToS16(skIBounds.fTop); in generateMetrics()
172 stemV = SkTMin(stemV, SkToS16(SkScalarRoundToInt(bounds.width()))); in GetMetrics()184 metrics->fCapHeight = SkToS16(SkScalarRoundToInt(capHeight / 2)); in GetMetrics()464 glyphCache.get(), &this->glyphUsage(), SkToS16(emSize), &defaultWidth); in getFontSubset()469 "DW", scaleFromFontUnits(defaultWidth, SkToS16(emSize))); in getFontSubset()
31 fX = SkToS16(x); in set()32 fY = SkToS16(y); in set()
217 #define SkToS16(x) SkTo<int16_t>(x) macro
30 fFrameCount = SkToS16(frameCount); in reset()
515 SkToS16(32768); in DEF_TEST()516 SkToS16(-32769); in DEF_TEST()