Lines Matching refs:fPositions
37 fPositions.begin(), nullptr, fColors.begin(), in releaseVertices()
46 int vertexCount() const { return fPositions.count(); } in vertexCount()
95 SkTDArray<SkPoint> fPositions; member in SkBaseShadowTessellator
301 fPositions.push_back(fCentroid); in computeConvexShadow()
316 fFirstVertexIndex = fPositions.count(); in computeConvexShadow()
325 bool isOutside = this->clipUmbraPoint(fPositions[fFirstVertexIndex], in computeConvexShadow()
328 fPositions.push_back(clipPoint); in computeConvexShadow()
336 fPositions.push_back(newPoint); in computeConvexShadow()
353 SkASSERT(fPositions.count() >= 3); in computeConvexShadow()
356 this->appendTriangle(fFirstVertexIndex, fPositions.count() - 1, in computeConvexShadow()
359 this->appendTriangle(fFirstVertexIndex, fPositions.count() - 1, in computeConvexShadow()
365 fPositions[fFirstVertexIndex + 2] = fPositions[fPositions.count() - 1]; in computeConvexShadow()
367 fPositions[fFirstVertexIndex + 1] = fPositions[fPositions.count() - 1]; in computeConvexShadow()
417 ? fPositions.count() - 1 in addEdge()
418 : fPositions.count() - 2; in addEdge()
427 : this->clipUmbraPoint(fPositions[currUmbraIndex], fCentroid, in addEdge()
431 fPositions.push_back(clipPoint); in addEdge()
451 fPositions.push_back(newPoint); in addEdge()
457 this->appendTriangle(prevPenumbraIndex, fPositions.count() - 1, currUmbraIndex); in addEdge()
511 !duplicate_pt(umbraPoint, fPositions[fPrevUmbraIndex])) { in addInnerPoint()
513 if (fPrevUmbraIndex >= 0 && duplicate_pt(umbraPoint, fPositions[fFirstVertexIndex])) { in addInnerPoint()
516 *currUmbraIndex = fPositions.count(); in addInnerPoint()
517 fPositions.push_back(umbraPoint); in addInnerPoint()
636 fPositions.push_back(penumbraPolygon[currPenumbra]); in stitchConcaveRings()
639 fPositions.push_back(umbraPolygon[currUmbra]); in stitchConcaveRings()
651 fPositions.push_back(penumbraPolygon[nextPenumbra]); in stitchConcaveRings()
653 int currPenumbraIndex = fPositions.count() - 1; in stitchConcaveRings()
655 fPositions.push_back(umbraPolygon[nextUmbra]); in stitchConcaveRings()
657 int currUmbraIndex = fPositions.count() - 1; in stitchConcaveRings()
677 fPositions.push_back(penumbraPolygon[nextPenumbra]); in stitchConcaveRings()
679 int currPenumbraIndex = fPositions.count() - 1; in stitchConcaveRings()
693 fPositions.push_back(umbraPolygon[nextUmbra]); in stitchConcaveRings()
695 int currUmbraIndex = fPositions.count() - 1; in stitchConcaveRings()
708 fPositions.push_back(penumbraPolygon[nextPenumbra]); in stitchConcaveRings()
710 int currPenumbraIndex = fPositions.count() - 1; in stitchConcaveRings()
712 fPositions.push_back(umbraPolygon[nextUmbra]); in stitchConcaveRings()
714 int currUmbraIndex = fPositions.count() - 1; in stitchConcaveRings()
857 fPositions.push_back(fPrevPoint + currNormal); in addArc()
859 this->appendTriangle(fPrevUmbraIndex, fPositions.count() - 1, fPositions.count() - 2); in addArc()
864 fPositions.push_back(fPrevPoint + nextNormal); in addArc()
866 this->appendTriangle(fPrevUmbraIndex, fPositions.count() - 1, fPositions.count() - 2); in addArc()
931 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
1034 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()