Lines Matching refs:lineData
742 DashOp::LineData lineData; in MakeDashLineOp() local
743 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
751 align_to_x_axis(pts, &rotMatrix, lineData.fPtsRot); in MakeDashLineOp()
752 if (!rotMatrix.invert(&lineData.fSrcRotInv)) { in MakeDashLineOp()
757 lineData.fSrcRotInv.reset(); in MakeDashLineOp()
758 memcpy(lineData.fPtsRot, pts, 2 * sizeof(SkPoint)); in MakeDashLineOp()
762 calc_dash_scaling(&lineData.fParallelScale, &lineData.fPerpendicularScale, viewMatrix, in MakeDashLineOp()
763 lineData.fPtsRot); in MakeDashLineOp()
765 SkScalar offInterval = intervals[1] * lineData.fParallelScale; in MakeDashLineOp()
766 SkScalar strokeWidth = lineData.fSrcStrokeWidth * lineData.fPerpendicularScale; in MakeDashLineOp()
768 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) { in MakeDashLineOp()
776 lineData.fViewMatrix = viewMatrix; in MakeDashLineOp()
777 lineData.fPhase = phase; in MakeDashLineOp()
778 lineData.fIntervals[0] = intervals[0]; in MakeDashLineOp()
779 lineData.fIntervals[1] = intervals[1]; in MakeDashLineOp()
781 return DashOp::Make(std::move(paint), lineData, cap, aaMode, fullDash, stencilSettings); in MakeDashLineOp()