Searched refs:fCentroid (Results 1 – 1 of 1) sorted by relevance
769 SkPoint fCentroid; member in SkSpotShadowTessellator849 SkScalar minDistSq = fCentroid.distanceToLineSegmentBetweenSqd(fPathPolygon[0], in SkSpotShadowTessellator()860 SkScalar distSq = fCentroid.distanceToLineSegmentBetweenSqd(currPoint, nextPoint); in SkSpotShadowTessellator()888 *fPositions.push() = fCentroid; in SkSpotShadowTessellator()978 SkScalar pathZ = fTransformedHeightFunc(fCentroid); in SkSpotShadowTessellator()980 fCentroid.fX = (fCentroid.fX*fLightZ - lightPos.fX*pathZ)*factor; in SkSpotShadowTessellator()981 fCentroid.fY = (fCentroid.fY*fLightZ - lightPos.fY*pathZ)*factor; in SkSpotShadowTessellator()985 *fPositions.push() = fCentroid + SkVector::Make(-2, -2); in SkSpotShadowTessellator()987 *fPositions.push() = fCentroid + SkVector::Make(2, -2); in SkSpotShadowTessellator()989 *fPositions.push() = fCentroid + SkVector::Make(-2, 2); in SkSpotShadowTessellator()[all …]