Lines Matching defs:verts
350 QuadVertex* verts,
363 // Check whether adding the verts for this segment to the current draw would cause index
372 verts += *v;
380 verts[*v + 0].fPos = sega.endPt();
381 verts[*v + 1].fPos = verts[*v + 0].fPos + sega.endNorm();
382 verts[*v + 2].fPos = verts[*v + 0].fPos + segb.fMid;
383 verts[*v + 3].fPos = verts[*v + 0].fPos + segb.fNorms[0];
384 verts[*v + 0].fUV.set(0,0);
385 verts[*v + 1].fUV.set(0,-SK_Scalar1);
386 verts[*v + 2].fUV.set(0,-SK_Scalar1);
387 verts[*v + 3].fUV.set(0,-SK_Scalar1);
388 verts[*v + 0].fD0 = verts[*v + 0].fD1 = -SK_Scalar1;
389 verts[*v + 1].fD0 = verts[*v + 1].fD1 = -SK_Scalar1;
390 verts[*v + 2].fD0 = verts[*v + 2].fD1 = -SK_Scalar1;
391 verts[*v + 3].fD0 = verts[*v + 3].fD1 = -SK_Scalar1;
404 verts[*v + 0].fPos = fanPt;
405 verts[*v + 1].fPos = sega.endPt();
406 verts[*v + 2].fPos = segb.fPts[0];
408 verts[*v + 3].fPos = verts[*v + 1].fPos + segb.fNorms[0];
409 verts[*v + 4].fPos = verts[*v + 2].fPos + segb.fNorms[0];
413 SkScalar dist = fanPt.distanceToLineBetween(verts[*v + 1].fPos,
414 verts[*v + 2].fPos);
415 verts[*v + 0].fUV.set(0, dist);
416 verts[*v + 1].fUV.set(0, 0);
417 verts[*v + 2].fUV.set(0, 0);
418 verts[*v + 3].fUV.set(0, -SK_Scalar1);
419 verts[*v + 4].fUV.set(0, -SK_Scalar1);
421 verts[*v + 0].fD0 = verts[*v + 0].fD1 = -SK_Scalar1;
422 verts[*v + 1].fD0 = verts[*v + 1].fD1 = -SK_Scalar1;
423 verts[*v + 2].fD0 = verts[*v + 2].fD1 = -SK_Scalar1;
424 verts[*v + 3].fD0 = verts[*v + 3].fD1 = -SK_Scalar1;
425 verts[*v + 4].fD0 = verts[*v + 4].fD1 = -SK_Scalar1;
447 verts[*v + 0].fPos = fanPt;
448 verts[*v + 1].fPos = qpts[0];
449 verts[*v + 2].fPos = qpts[2];
450 verts[*v + 3].fPos = qpts[0] + segb.fNorms[0];
451 verts[*v + 4].fPos = qpts[2] + segb.fNorms[1];
452 verts[*v + 5].fPos = qpts[1] + midVec;
455 verts[*v + 0].fD0 = -segb.fNorms[0].dot(fanPt) + c;
456 verts[*v + 1].fD0 = 0.f;
457 verts[*v + 2].fD0 = -segb.fNorms[0].dot(qpts[2]) + c;
458 verts[*v + 3].fD0 = -SK_ScalarMax/100;
459 verts[*v + 4].fD0 = -SK_ScalarMax/100;
460 verts[*v + 5].fD0 = -SK_ScalarMax/100;
463 verts[*v + 0].fD1 = -segb.fNorms[1].dot(fanPt) + c;
464 verts[*v + 1].fD1 = -segb.fNorms[1].dot(qpts[0]) + c;
465 verts[*v + 2].fD1 = 0.f;
466 verts[*v + 3].fD1 = -SK_ScalarMax/100;
467 verts[*v + 4].fD1 = -SK_ScalarMax/100;
468 verts[*v + 5].fD1 = -SK_ScalarMax/100;
471 toUV.apply<6, sizeof(QuadVertex), sizeof(GrPoint)>(verts + *v);
653 QuadVertex *verts;
672 // Our computed verts should all be within one pixel of the segment control points.
686 verts = reinterpret_cast<QuadVertex*>(arg.vertices());
690 create_vertices(segments, fanPt, &draws, verts, idxs);
697 actualBounds.set(verts[0].fPos, verts[1].fPos);
699 actualBounds.growToInclude(verts[i].fPos.fX, verts[i].fPos.fY);