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
297 fPositions.push_back(fCentroid); in computeConvexShadow()
312 fFirstVertexIndex = fPositions.count(); in computeConvexShadow()
321 bool isOutside = this->clipUmbraPoint(fPositions[fFirstVertexIndex], in computeConvexShadow()
324 fPositions.push_back(clipPoint); in computeConvexShadow()
332 fPositions.push_back(newPoint); in computeConvexShadow()
349 SkASSERT(fPositions.count() >= 3); in computeConvexShadow()
352 this->appendTriangle(fFirstVertexIndex, fPositions.count() - 1, in computeConvexShadow()
355 this->appendTriangle(fFirstVertexIndex, fPositions.count() - 1, in computeConvexShadow()
361 fPositions[fFirstVertexIndex + 2] = fPositions[fPositions.count() - 1]; in computeConvexShadow()
363 fPositions[fFirstVertexIndex + 1] = fPositions[fPositions.count() - 1]; in computeConvexShadow()
413 ? fPositions.count() - 1 in addEdge()
414 : fPositions.count() - 2; in addEdge()
423 : this->clipUmbraPoint(fPositions[currUmbraIndex], fCentroid, in addEdge()
427 fPositions.push_back(clipPoint); in addEdge()
447 fPositions.push_back(newPoint); in addEdge()
453 this->appendTriangle(prevPenumbraIndex, fPositions.count() - 1, currUmbraIndex); in addEdge()
507 !duplicate_pt(umbraPoint, fPositions[fPrevUmbraIndex])) { in addInnerPoint()
509 if (fPrevUmbraIndex >= 0 && duplicate_pt(umbraPoint, fPositions[fFirstVertexIndex])) { in addInnerPoint()
512 *currUmbraIndex = fPositions.count(); in addInnerPoint()
513 fPositions.push_back(umbraPoint); in addInnerPoint()
632 fPositions.push_back(penumbraPolygon[currPenumbra]); in stitchConcaveRings()
635 fPositions.push_back(umbraPolygon[currUmbra]); in stitchConcaveRings()
647 fPositions.push_back(penumbraPolygon[nextPenumbra]); in stitchConcaveRings()
649 int currPenumbraIndex = fPositions.count() - 1; in stitchConcaveRings()
651 fPositions.push_back(umbraPolygon[nextUmbra]); in stitchConcaveRings()
653 int currUmbraIndex = fPositions.count() - 1; in stitchConcaveRings()
673 fPositions.push_back(penumbraPolygon[nextPenumbra]); in stitchConcaveRings()
675 int currPenumbraIndex = fPositions.count() - 1; in stitchConcaveRings()
689 fPositions.push_back(umbraPolygon[nextUmbra]); in stitchConcaveRings()
691 int currUmbraIndex = fPositions.count() - 1; in stitchConcaveRings()
704 fPositions.push_back(penumbraPolygon[nextPenumbra]); in stitchConcaveRings()
706 int currPenumbraIndex = fPositions.count() - 1; in stitchConcaveRings()
708 fPositions.push_back(umbraPolygon[nextUmbra]); in stitchConcaveRings()
710 int currUmbraIndex = fPositions.count() - 1; in stitchConcaveRings()
853 fPositions.push_back(fPrevPoint + currNormal); in addArc()
855 this->appendTriangle(fPrevUmbraIndex, fPositions.count() - 1, fPositions.count() - 2); in addArc()
860 fPositions.push_back(fPrevPoint + nextNormal); in addArc()
862 this->appendTriangle(fPrevUmbraIndex, fPositions.count() - 1, fPositions.count() - 2); in addArc()
927 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator()
1030 fPositions.setReserve(5 * path.countPoints()); in SkSpotShadowTessellator()