Home
last modified time | relevance | path

Searched refs:SkMinScalar (Results 1 – 25 of 32) sorted by relevance

12

/third_party/flutter/skia/src/core/
DSkRect.cpp90 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()
DSkRectPriv.h44 r->fLeft = SkMinScalar(pt.fX, r->fLeft); in GrowToInclude()
46 r->fTop = SkMinScalar(pt.fY, r->fTop); in GrowToInclude()
DSkStrikeSpec.cpp143 SkScalar limit = SkMinScalar(SkGraphics::GetFontCachePointSizeLimit(), 1024); in ShouldDrawAsPath()
DSkRRect.cpp30 SkScalar scale = SkMinScalar(sk_ieee_float_divide(fRect. width(), xRad + xRad), in setRectXY()
77 scale = SkMinScalar(scale, fRect.height() / (topRad + bottomRad)); in setNinePatch()
DSkTextBlob.cpp325 minX = SkMinScalar(x, minX); in ConservativeRunBounds()
DSkMatrix.cpp1433 results[0] = SkMinScalar(SkScalarAbs(m[SkMatrix::kMScaleX]), in get_scale_factor()
1466 results[0] = SkMinScalar(a, c); in get_scale_factor()
DSkBlurMF.cpp106 return SkMinScalar(xformedSigma, kMAX_BLUR_SIGMA); in computeXformedSigma()
DSkPath.cpp55 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/
DSkRect.h1073 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()
DSkScalar.h126 static inline SkScalar SkMinScalar(SkScalar a, SkScalar b) { return a < b ? a : b; } in SkMinScalar() function
/third_party/flutter/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp194 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()
DSkBlurImageFilter.cpp575 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/
DGrStrokeRectOp.cpp661 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()
DGrAAConvexTessellator.cpp900 minDot = SkMinScalar(minDot, dot); in isConvex()
/third_party/flutter/skia/samplecode/
DSampleStringArt.cpp35 while (length < (SkScalarHalf(SkMinScalar(this->width(), this->height())) - 10.f)) in onDrawContent()
DSampleDegenerateQuads.cpp223 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()
DSampleThinAA.cpp407 case '=': fStrokeWidth = SkMinScalar(1.f, fStrokeWidth + 0.05f); return true; in onChar()
/third_party/flutter/skia/gm/
Dimagefilterstransformed.cpp41 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
Dimagefiltersclipped.cpp41 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
Dimagefiltersscaled.cpp40 SkScalar radius = SkMinScalar(x, y) * 4 / 5; in make_gradient_circle()
Dimagefilterscropexpand.cpp133 SkScalar radius = SkMinScalar(x, y) * 0.8f; in make_gradient_circle()
/third_party/flutter/skia/src/effects/
DSkDashPathEffect.cpp231 SkScalar clampedInitialDashLength = SkMinScalar(length, fInitialDashLength); in onAsPoints()
/third_party/flutter/skia/src/pdf/
DSkPDFUtils.cpp105 SkScalar bottom = SkMinScalar(rect.fBottom, rect.fTop); in AppendRectangle()
/third_party/flutter/skia/bench/
DPathBench.cpp735 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/
DGrTextBlob.h156 fMinMaxScale = SkMinScalar(scaledMax, fMinMaxScale); in setMinAndMaxScale()

12