Lines Matching refs:fVertices
123 SkASSERT(v->fVertices.empty()); in FromJSON()
158 v->fVertices.reserve(inPts.size()); in FromJSON()
160 v->fVertices.push_back(BezierVertex({inPts[i], outPts[i], verts[i]})); in FromJSON()
169 return v1.fVertices.size() == v2.fVertices.size() in CanLerp()
187 SkASSERT(v0.fVertices.size() == v1.fVertices.size()); in Lerp()
194 result->fVertices.resize(v0.fVertices.size()); in Lerp()
196 for (size_t i = 0; i < v0.fVertices.size(); ++i) { in Lerp()
197 result->fVertices[i] = BezierVertex({ in Lerp()
198 lerp_point(v0.fVertices[i].fInPoint , v1.fVertices[i].fInPoint , t2f), in Lerp()
199 lerp_point(v0.fVertices[i].fOutPoint, v1.fVertices[i].fOutPoint, t2f), in Lerp()
200 lerp_point(v0.fVertices[i].fVertex , v1.fVertices[i].fVertex , t2f) in Lerp()
210 if (!shape.fVertices.empty()) { in As()
212 path.incReserve(1 + SkToU32(shape.fVertices.size() * 3)); in As()
214 path.moveTo(shape.fVertices.front().fVertex); in As()
218 const auto c0 = shape.fVertices[from].fVertex + shape.fVertices[from].fOutPoint, in As()
219 c1 = shape.fVertices[to].fVertex + shape.fVertices[to].fInPoint; in As()
221 if (c0 == shape.fVertices[from].fVertex && in As()
222 c1 == shape.fVertices[to].fVertex) { in As()
226 path.lineTo(shape.fVertices[to].fVertex); in As()
228 path.cubicTo(c0, c1, shape.fVertices[to].fVertex); in As()
232 for (size_t i = 1; i < shape.fVertices.size(); ++i) { in As()
236 if (!shape.fVertices.empty() && shape.fClosed) { in As()
237 addCubic(shape.fVertices.size() - 1, 0); in As()