Searched refs:SkScalarTruncToInt (Results 1 – 8 of 8) sorted by relevance
118 int x = SkScalarTruncToInt(rect.fLeft) + kGraphPadding; in onPaint()128 int startY = SkScalarTruncToInt(rect.fBottom); in onPaint()142 height = std::max(0, height - (SkScalarTruncToInt(rect.fBottom) - startY)); in onPaint()
47 if (SkScalarTruncToInt(clip_info.fClipBlack) == kLottieDoClip) { in build_lut()51 if (SkScalarTruncToInt(clip_info.fClipWhite) == kLottieDoClip) { in build_lut()152 const auto channel = SkScalarTruncToInt(fChannel); in onSync()
58 #define SkScalarTruncToInt(x) sk_float_saturate2int(x) macro
219 const int32_t srcX = Sk32_sat_add(x, SkScalarTruncToInt(displX)); in compute_displacement()220 const int32_t srcY = Sk32_sat_add(y, SkScalarTruncToInt(displY)); in compute_displacement()
686 lf.lfHeight = -SkScalarTruncToInt(gdiTextSize); in SkScalerContext_GDI()838 glyph->fLeft = SkScalarTruncToInt(bounds.fLeft); in generateMetrics()839 glyph->fTop = SkScalarTruncToInt(bounds.fTop); in generateMetrics()840 glyph->fWidth = SkScalarTruncToInt(bounds.width()); in generateMetrics()841 glyph->fHeight = SkScalarTruncToInt(bounds.height()); in generateMetrics()
311 int bitmapPPEM = SkScalarTruncToInt(gdiTextSize); in SkScalerContext_DW()
231 const int n = std::min(SkScalarTruncToInt(proc.currentAdvance() + 1), count); in shadeSpanInternal()
148 fSeed = SkScalarTruncToInt(seed); in init()