Searched refs:SkScalarTruncToInt (Results 1 – 16 of 16) sorted by relevance
110 int x = SkScalarTruncToInt(rect.fLeft) + kGraphPadding; in onPaint()119 int startY = SkScalarTruncToInt(rect.fBottom); in onPaint()
108 int x = SkScalarTruncToInt(rect.fLeft) + kGraphPadding; in onPaint()117 int startY = SkScalarTruncToInt(rect.fBottom); in onPaint()
58 #define SkScalarTruncToInt(x) sk_float_saturate2int(x) macro
18 const int szInt = SkScalarTruncToInt(sz);
78 const int32_t srcX = Sk32_sat_add(x, SkScalarTruncToInt(displX)); in computeDisplacement()79 const int32_t srcY = Sk32_sat_add(y, SkScalarTruncToInt(displY)); in computeDisplacement()
80 const int32_t srcX = Sk32_sat_add(x, SkScalarTruncToInt(displX)); in computeDisplacement()81 const int32_t srcY = Sk32_sat_add(y, SkScalarTruncToInt(displY)); in computeDisplacement()
673 lf.lfHeight = -SkScalarTruncToInt(gdiTextSize); in SkScalerContext_GDI()900 glyph->fLeft = SkScalarTruncToInt(bounds.fLeft); in generateMetrics()901 glyph->fTop = SkScalarTruncToInt(bounds.fTop); in generateMetrics()902 glyph->fWidth = SkScalarTruncToInt(bounds.width()); in generateMetrics()903 glyph->fHeight = SkScalarTruncToInt(bounds.height()); in generateMetrics()
264 int bitmapPPEM = SkScalarTruncToInt(gdiTextSize); in SkScalerContext_DW()
672 lf.lfHeight = -SkScalarTruncToInt(gdiTextSize); in SkScalerContext_GDI()899 glyph->fLeft = SkScalarTruncToInt(bounds.fLeft); in generateMetrics()900 glyph->fTop = SkScalarTruncToInt(bounds.fTop); in generateMetrics()901 glyph->fWidth = SkScalarTruncToInt(bounds.width()); in generateMetrics()902 glyph->fHeight = SkScalarTruncToInt(bounds.height()); in generateMetrics()
230 const int n = SkTMin(SkScalarTruncToInt(proc.currentAdvance() + 1), count); in shadeSpanInternal()
204 fSeed = SkScalarTruncToInt(seed); in init()