• Home
  • Raw
  • Download

Lines Matching refs:fPts

51     int numPts() const { return fPts.count(); }  in numPts()
54 const SkPoint& lastPoint() const { return fPts.top(); } in lastPoint()
55 const SkPoint& point(int index) const { return fPts[index]; } in point()
71 void setReserve(int numPts) { fPts.setReserve(numPts); } in setReserve()
72 void rewind() { fPts.rewind(); } in rewind()
74 int numPts() const { return fPts.count(); } in numPts()
76 const SkPoint& lastPoint() const { return fPts.top().fPt; } in lastPoint()
77 const SkPoint& firstPoint() const { return fPts[0].fPt; } in firstPoint()
78 const SkPoint& point(int index) const { return fPts[index].fPt; } in point()
80 int originatingIdx(int index) const { return fPts[index].fOriginatingIdx; } in originatingIdx()
81 int origEdge(int index) const { return fPts[index].fOrigEdgeId; } in origEdge()
82 bool needsToBeNew(int index) const { return fPts[index].fNeedsToBeNew; } in needsToBeNew()
85 struct PointData* pt = fPts.push(); in addNewPt()
90 return fPts.count() - 1; in addNewPt()
94 fPts.top().fOrigEdgeId = origEdgeId; in fuseWithPrior()
95 fPts.top().fOriginatingIdx = -1; in fuseWithPrior()
96 fPts.top().fNeedsToBeNew = true; in fuseWithPrior()
97 return fPts.count() - 1; in fuseWithPrior()
101 fPts[0].fOriginatingIdx = -1; in fuseWithNext()
102 fPts[0].fNeedsToBeNew = true; in fuseWithNext()
107 if (fPts.count() > 1) { in fuseWithBoth()
108 fPts.pop(); in fuseWithBoth()
111 fPts[0].fOriginatingIdx = -1; in fuseWithBoth()
112 fPts[0].fNeedsToBeNew = true; in fuseWithBoth()
124 SkTDArray<struct PointData> fPts; variable
131 void setReserve(int numPts) { fPts.setReserve(numPts); } in setReserve()
132 void rewind() { fPts.rewind(); } in rewind()
134 int numPts() const { return fPts.count(); } in numPts()
137 struct PointData* pt = fPts.push(); in addIdx()
144 for (int i = 0; i < fPts.count(); ++i) { in makeOriginalRing()
145 fPts[i].fOrigEdgeId = fPts[i].fIndex; in makeOriginalRing()
153 const SkPoint& norm(int index) const { return fPts[index].fNorm; } in norm()
154 const SkPoint& bisector(int index) const { return fPts[index].fBisector; } in bisector()
155 int index(int index) const { return fPts[index].fIndex; } in index()
156 int origEdgeID(int index) const { return fPts[index].fOrigEdgeId; } in origEdgeID()
157 void setOrigEdgeId(int index, int id) { fPts[index].fOrigEdgeId = id; } in setOrigEdgeId()
176 SkTDArray<PointData> fPts; variable
205 fPts.setReserve(count); in reservePts()
252 SkTDArray<SkPoint> fPts; variable