Searched refs:SkToS16 (Results 1 – 12 of 12) sorted by relevance
29 fLeft = SkToS16(r.fLeft); in set()30 fTop = SkToS16(r.fTop); in set()31 fRight = SkToS16(r.fRight); in set()32 fBottom = SkToS16(r.fBottom); in set()
19 fRuns[0] = SkToS16(width); in reset()42 runs[0] = SkToS16(x); in Break()43 runs[x] = SkToS16(n - x); in Break()61 runs[0] = SkToS16(x); in Break()62 runs[x] = SkToS16(n - x); in Break()
77 runs[0] = SkToS16(x); in BreakAt()78 runs[x] = SkToS16(n - x); in BreakAt()
26 int16_t SkToS16(long x) in SkToS16() function
81 runs[0] = SkToS16(n); in call_hline_blitter()
426 ((int16_t*)runs)[index] = SkToS16(left - prevRite); in blitAntiH()
22 SkASSERT(SkToS16(x) == x); in SkIntToFDot6()
166 SK_API int16_t SkToS16(long);173 #define SkToS16(x) ((int16_t)(x)) macro
361 SkToS16(32768); in TestMath()362 SkToS16(-32769); in TestMath()
610 glyph->fTop = SkToS16(gm.gmptGlyphOrigin.y - gm.gmBlackBoxY); in generateMetrics()611 glyph->fLeft = SkToS16(gm.gmptGlyphOrigin.x); in generateMetrics()1134 info->fAscent = SkToS16(otm.otmTextMetrics.tmAscent); in GetAdvancedTypefaceMetrics()1135 info->fDescent = SkToS16(-otm.otmTextMetrics.tmDescent); in GetAdvancedTypefaceMetrics()
1079 glyph->fTop = -SkToS16(bbox.yMax >> 6); in generateMetrics()1080 glyph->fLeft = SkToS16(bbox.xMin >> 6); in generateMetrics()1109 glyph->fTop = -SkToS16(fFace->glyph->bitmap_top); in generateMetrics()1110 glyph->fLeft = SkToS16(fFace->glyph->bitmap_left); in generateMetrics()
29 fFrameCount = SkToS16(frameCount); in reset()