/third_party/flutter/skia/src/core/ |
D | SkRect.cpp | 90 SkScalar R = SkMinScalar(ar, br); \ 92 SkScalar B = SkMinScalar(ab, bb); \ 122 fLeft = SkMinScalar(fLeft, left); in join() 123 fTop = SkMinScalar(fTop, top); in join()
|
D | SkRectPriv.h | 44 r->fLeft = SkMinScalar(pt.fX, r->fLeft); in GrowToInclude() 46 r->fTop = SkMinScalar(pt.fY, r->fTop); in GrowToInclude()
|
D | SkStrikeSpec.cpp | 143 SkScalar limit = SkMinScalar(SkGraphics::GetFontCachePointSizeLimit(), 1024); in ShouldDrawAsPath()
|
D | SkRRect.cpp | 30 SkScalar scale = SkMinScalar(sk_ieee_float_divide(fRect. width(), xRad + xRad), in setRectXY() 77 scale = SkMinScalar(scale, fRect.height() / (topRad + bottomRad)); in setNinePatch()
|
D | SkTextBlob.cpp | 325 minX = SkMinScalar(x, minX); in ConservativeRunBounds()
|
D | SkMatrix.cpp | 1433 results[0] = SkMinScalar(SkScalarAbs(m[SkMatrix::kMScaleX]), in get_scale_factor() 1466 results[0] = SkMinScalar(a, c); in get_scale_factor()
|
D | SkBlurMF.cpp | 106 return SkMinScalar(xformedSigma, kMAX_BLUR_SIGMA); in computeXformedSigma()
|
D | SkPath.cpp | 55 dst->fLeft = SkMinScalar(dst->fLeft, src.fLeft); in joinNoEmptyChecks() 56 dst->fTop = SkMinScalar(dst->fTop, src.fTop); in joinNoEmptyChecks() 3084 min = SkMinScalar(min, pts[i].fX); in find_minmax()
|
/third_party/flutter/skia/include/core/ |
D | SkRect.h | 1073 fLeft = SkMinScalar(p0.fX, p1.fX); in set() 1075 fTop = SkMinScalar(p0.fY, p1.fY); in set() 1267 SkScalar R = SkMinScalar(ar, br); in Intersects() 1269 SkScalar B = SkMinScalar(ab, bb); in Intersects() 1366 fLeft = SkMinScalar(fLeft, r.left()); in joinPossiblyEmptyRect() 1367 fTop = SkMinScalar(fTop, r.top()); in joinPossiblyEmptyRect() 1512 return MakeLTRB(SkMinScalar(fLeft, fRight), SkMinScalar(fTop, fBottom), in makeSorted()
|
D | SkScalar.h | 126 static inline SkScalar SkMinScalar(SkScalar a, SkScalar b) { return a < b ? a : b; } in SkMinScalar() function
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 194 weight = SkMinScalar(SkScalarSquare(dist), SK_Scalar1); in onFilterImage() 196 SkScalar sqDist = SkMinScalar(SkScalarSquare(x_dist), in onFilterImage() 198 weight = SkMinScalar(sqDist, SK_Scalar1); in onFilterImage()
|
D | SkBlurImageFilter.cpp | 575 sigma.fX = SkMinScalar(SkScalarAbs(sigma.fX), MAX_SIGMA); in map_sigma() 576 sigma.fY = SkMinScalar(SkScalarAbs(sigma.fY), MAX_SIGMA); in map_sigma()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 661 inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); in generateAAStrokeRectGeometry() 662 inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); in generateAAStrokeRectGeometry() 663 inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); in generateAAStrokeRectGeometry() 665 inset = SK_ScalarHalf * SkMinScalar(inset, devOutside.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry() 668 SkMinScalar(inset, devOutsideAssist.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry() 673 inset = SkMinScalar(devOutside.width(), SK_Scalar1); in generateAAStrokeRectGeometry() 675 SkMinScalar(inset, SkTMax(devOutside.height(), devOutsideAssist.height())); in generateAAStrokeRectGeometry() 816 SkScalar minDim = SkMinScalar(rect.width(), rect.height()); in GR_DRAW_OP_TEST_DEFINE()
|
D | GrAAConvexTessellator.cpp | 900 minDot = SkMinScalar(minDot, dot); in isConvex()
|
/third_party/flutter/skia/samplecode/ |
D | SampleStringArt.cpp | 35 while (length < (SkScalarHalf(SkMinScalar(this->width(), this->height())) - 10.f)) in onDrawContent()
|
D | SampleDegenerateQuads.cpp | 223 coverage = SkMinScalar(coverage, l * t * r * b); in get_framed_coverage() 476 point->fX = SkMinScalar(fOuterRect.fRight, SkMaxScalar(point->fX, fOuterRect.fLeft)); in drag() 477 point->fY = SkMinScalar(fOuterRect.fBottom, SkMaxScalar(point->fY, fOuterRect.fTop)); in drag()
|
D | SampleThinAA.cpp | 407 case '=': fStrokeWidth = SkMinScalar(1.f, fStrokeWidth + 0.05f); return true; in onChar()
|
/third_party/flutter/skia/gm/ |
D | imagefilterstransformed.cpp | 41 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
|
D | imagefiltersclipped.cpp | 41 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
|
D | imagefiltersscaled.cpp | 40 SkScalar radius = SkMinScalar(x, y) * 4 / 5; in make_gradient_circle()
|
D | imagefilterscropexpand.cpp | 133 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
|
/third_party/flutter/skia/src/effects/ |
D | SkDashPathEffect.cpp | 231 SkScalar clampedInitialDashLength = SkMinScalar(length, fInitialDashLength); in onAsPoints()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFUtils.cpp | 105 SkScalar bottom = SkMinScalar(rect.fBottom, rect.fTop); in AppendRectangle()
|
/third_party/flutter/skia/bench/ |
D | PathBench.cpp | 735 SkScalar rx = SkMinScalar(rect.width(), xIn); in add_corner_arc() 736 SkScalar ry = SkMinScalar(rect.height(), yIn); in add_corner_arc()
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrTextBlob.h | 156 fMinMaxScale = SkMinScalar(scaledMax, fMinMaxScale); in setMinAndMaxScale()
|