Home
last modified time | relevance | path

Searched refs:nextV (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/gm/
Dwacky_yuv_formats.cpp289 SkVector nextV; in create_splat() local
291 nextV = outerStep.mapVector(curV.fX, curV.fY); in create_splat()
295 SkPoint nextTop = SkPoint::Make(o.fX + outerRadius * nextV.fX, in create_splat()
296 o.fY + outerRadius * nextV.fY); in create_splat()
299 add_arc(&p, top, curV, nextTop, nextV, circles, true); in create_splat()
301 nextV = innerStep.mapVector(curV.fX, curV.fY); in create_splat()
305 SkPoint nextBot = SkPoint::Make(o.fX + innerRadius * nextV.fX, in create_splat()
306 o.fY + innerRadius * nextV.fY); in create_splat()
309 add_arc(&p, bot, curV, nextBot, nextV, nullptr, false); in create_splat()
312 curV = nextV; in create_splat()
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp303 SkVector nextV; in create_splat() local
305 nextV = outerStep.mapVector(curV.fX, curV.fY); in create_splat()
309 SkPoint nextTop = SkPoint::Make(o.fX + outerRadius * nextV.fX, in create_splat()
310 o.fY + outerRadius * nextV.fY); in create_splat()
313 add_arc(&p, top, curV, nextTop, nextV, circles, true); in create_splat()
315 nextV = innerStep.mapVector(curV.fX, curV.fY); in create_splat()
319 SkPoint nextBot = SkPoint::Make(o.fX + innerRadius * nextV.fX, in create_splat()
320 o.fY + innerRadius * nextV.fY); in create_splat()
323 add_arc(&p, bot, curV, nextBot, nextV, nullptr, false); in create_splat()
326 curV = nextV; in create_splat()
/third_party/skia/src/gpu/geometry/
DGrTriangulator.cpp992 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in makeSortedVertex() local
993 while (nextV && c.sweep_lt(nextV->fPoint, p)) { in makeSortedVertex()
994 prevV = nextV; in makeSortedVertex()
995 nextV = nextV->fNext; in makeSortedVertex()
1000 } else if (nextV && coincident(nextV->fPoint, p)) { in makeSortedVertex()
1001 v = nextV; in makeSortedVertex()
1007 } else if (!nextV) { in makeSortedVertex()
1010 v->fID = (prevV->fID + nextV->fID) * 0.5f; in makeSortedVertex()
1013 mesh->insert(v, prevV, nextV); in makeSortedVertex()
DGrAATriangulator.cpp444 Vertex* nextV = e->fWinding > 0 ? e->fBottom : e->fTop; in strokeBoundary() local
467 Line nextTangent(nextV->fPoint, in strokeBoundary()
468 nextV->fPoint + SkVector::Make(outer.fA, outer.fB)); in strokeBoundary()
484 Line nextTangent(nextV->fPoint, in strokeBoundary()
485 nextV->fPoint + SkVector::Make(inner.fA, inner.fB)); in strokeBoundary()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp1196 Vertex* nextV = prevV ? prevV->fNext : mesh->fHead; in create_sorted_vertex() local
1197 while (nextV && c.sweep_lt(nextV->fPoint, p)) { in create_sorted_vertex()
1198 prevV = nextV; in create_sorted_vertex()
1199 nextV = nextV->fNext; in create_sorted_vertex()
1204 } else if (nextV && coincident(nextV->fPoint, p)) { in create_sorted_vertex()
1205 v = nextV; in create_sorted_vertex()
1211 } else if (!nextV) { in create_sorted_vertex()
1214 v->fID = (prevV->fID + nextV->fID) * 0.5f; in create_sorted_vertex()
1217 mesh->insert(v, prevV, nextV); in create_sorted_vertex()
1985 Vertex* nextV = e->fWinding > 0 ? e->fBottom : e->fTop; in stroke_boundary() local
[all …]
/third_party/flutter/skia/samplecode/
DSampleAAGeometry.cpp1037 SkVector nextV = vector; in draw_bisect() local
1042 nextV.setLength(lastLen); in draw_bisect()
1045 SkVector bisect = { (lastV.fX + nextV.fX) / 2, (lastV.fY + nextV.fY) / 2 }; in draw_bisect()
1054 nextV.setLength(fWidthControl.fValLo); in draw_bisect()
1056 canvas->drawLine(pt, {pt.fX + nextV.fY, pt.fY - nextV.fX}, fSkeletonPaint); in draw_bisect()
1062 SkScalar endAngle = SkScalarATan2(-nextV.fX, nextV.fY) * 180.f / SK_ScalarPI; in draw_bisect()