Lines Matching refs:umbraInset
201 SkScalar umbraInset; in ShadowCircularRRectOp() local
205 umbraInset = 0; in ShadowCircularRRectOp()
207 umbraInset = SkTMax(outerRadius, blurRadius); in ShadowCircularRRectOp()
219 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp()
226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp()
417 SkScalar umbraInset = args.fUmbraInset; in fillInRRectVerts() local
419 if (umbraInset > minDim) { in fillInRRectVerts()
420 umbraInset = minDim; in fillInRRectVerts()
423 SkScalar xInner[4] = { bounds.fLeft + umbraInset, bounds.fRight - umbraInset, in fillInRRectVerts()
424 bounds.fLeft + umbraInset, bounds.fRight - umbraInset }; in fillInRRectVerts()
429 SkScalar yInner[4] = { bounds.fTop + umbraInset, bounds.fTop + umbraInset, in fillInRRectVerts()
430 bounds.fBottom - umbraInset, bounds.fBottom - umbraInset }; in fillInRRectVerts()
448 SkVector outerVec = SkVector::Make(outerRadius - umbraInset, -outerRadius - umbraInset); in fillInRRectVerts()
454 SkScalar diagVal = umbraInset / (SK_ScalarSqrt2*(outerRadius - umbraInset) - outerRadius); in fillInRRectVerts()
456 SkScalar distanceCorrection = umbraInset / blurRadius; in fillInRRectVerts()
506 SkScalar inset = umbraInset + args.fInnerRadius; in fillInRRectVerts()