Lines Matching refs:lineData
695 DashOp::LineData lineData; in MakeDashLineOp() local
696 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
704 align_to_x_axis(pts, &rotMatrix, lineData.fPtsRot); in MakeDashLineOp()
705 if (!rotMatrix.invert(&lineData.fSrcRotInv)) { in MakeDashLineOp()
710 lineData.fSrcRotInv.reset(); in MakeDashLineOp()
711 memcpy(lineData.fPtsRot, pts, 2 * sizeof(SkPoint)); in MakeDashLineOp()
715 calc_dash_scaling(&lineData.fParallelScale, &lineData.fPerpendicularScale, viewMatrix, in MakeDashLineOp()
716 lineData.fPtsRot); in MakeDashLineOp()
717 if (SkScalarNearlyZero(lineData.fParallelScale) || in MakeDashLineOp()
718 SkScalarNearlyZero(lineData.fPerpendicularScale)) { in MakeDashLineOp()
722 SkScalar offInterval = intervals[1] * lineData.fParallelScale; in MakeDashLineOp()
723 SkScalar strokeWidth = lineData.fSrcStrokeWidth * lineData.fPerpendicularScale; in MakeDashLineOp()
725 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) { in MakeDashLineOp()
733 lineData.fViewMatrix = viewMatrix; in MakeDashLineOp()
734 lineData.fPhase = phase; in MakeDashLineOp()
735 lineData.fIntervals[0] = intervals[0]; in MakeDashLineOp()
736 lineData.fIntervals[1] = intervals[1]; in MakeDashLineOp()
738 return DashOp::Make(context, std::move(paint), lineData, cap, aaMode, fullDash, in MakeDashLineOp()