• Home
  • Raw
  • Download

Lines Matching refs:inset

54     bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip);
64 bool computeConcaveShadow(SkScalar inset, SkScalar outset);
246 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument
273 if (inset > SK_ScalarNearlyZero) { in computeConvexShadow()
275 if (minDistSq < (inset + kTolerance)*(inset + kTolerance)) { in computeConvexShadow()
278 auto ratio = 128 * (newInset / inset + 1); in computeConvexShadow()
282 inset = newInset; in computeConvexShadow()
286 if (!SkInsetConvexPolygon(&fPathPolygon[0], fPathPolygon.count(), inset, in computeConvexShadow()
292 const SkTDArray<SkPoint>& umbraPolygon = (inset > SK_ScalarNearlyZero) ? insetPolygon in computeConvexShadow()
553 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument
562 if (!SkOffsetSimplePolygon(&fPathPolygon[0], fPathPolygon.count(), inset, in computeConcaveShadow()
912 auto inset = outset * SkDrawShadowMetrics::AmbientRecipAlpha(baseZ) - outset; in SkAmbientShadowTessellator() local
932 fSucceeded = this->computeConvexShadow(inset, outset, false); in SkAmbientShadowTessellator()
934 fSucceeded = this->computeConcaveShadow(inset, outset); in SkAmbientShadowTessellator()
1012 SkScalar inset = outset; in SkSpotShadowTessellator() local
1035 fSucceeded = this->computeConvexShadow(inset, outset, true); in SkSpotShadowTessellator()
1037 fSucceeded = this->computeConcaveShadow(inset, outset); in SkSpotShadowTessellator()