Lines Matching refs:outset
55 bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip);
65 bool computeConcaveShadow(SkScalar inset, SkScalar outset);
246 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument
310 fFirstOutset *= outset; in computeConvexShadow()
341 normal *= outset; in computeConvexShadow()
342 this->addArc(normal, outset, true); in computeConvexShadow()
350 if (this->addArc(fFirstOutset, outset, false)) { in computeConvexShadow()
553 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument
573 if (!SkOffsetSimplePolygon(&fPathPolygon[0], fPathPolygon.count(), fPathBounds, -outset, in computeConcaveShadow()
911 auto outset = SkDrawShadowMetrics::AmbientBlurRadius(baseZ); in SkAmbientShadowTessellator() local
912 auto inset = outset * SkDrawShadowMetrics::AmbientRecipAlpha(baseZ) - outset; in SkAmbientShadowTessellator()
934 fSucceeded = this->computeConvexShadow(inset, outset, false); in SkAmbientShadowTessellator()
936 fSucceeded = this->computeConcaveShadow(inset, outset); in SkAmbientShadowTessellator()
1008 SkScalar outset; in SkSpotShadowTessellator() local
1011 &shadowTransform, &outset)) { in SkSpotShadowTessellator()
1014 SkScalar inset = outset; in SkSpotShadowTessellator()
1037 fSucceeded = this->computeConvexShadow(inset, outset, true); in SkSpotShadowTessellator()
1039 fSucceeded = this->computeConcaveShadow(inset, outset); in SkSpotShadowTessellator()