Lines Matching refs:lineData
771 DashOp::LineData lineData; in MakeDashLineOp() local
772 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
780 align_to_x_axis(pts, &rotMatrix, lineData.fPtsRot); in MakeDashLineOp()
781 if (!rotMatrix.invert(&lineData.fSrcRotInv)) { in MakeDashLineOp()
786 lineData.fSrcRotInv.reset(); in MakeDashLineOp()
787 memcpy(lineData.fPtsRot, pts, 2 * sizeof(SkPoint)); in MakeDashLineOp()
791 calc_dash_scaling(&lineData.fParallelScale, &lineData.fPerpendicularScale, viewMatrix, in MakeDashLineOp()
792 lineData.fPtsRot); in MakeDashLineOp()
794 SkScalar offInterval = intervals[1] * lineData.fParallelScale; in MakeDashLineOp()
795 SkScalar strokeWidth = lineData.fSrcStrokeWidth * lineData.fPerpendicularScale; in MakeDashLineOp()
797 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) { in MakeDashLineOp()
805 lineData.fViewMatrix = viewMatrix; in MakeDashLineOp()
806 lineData.fPhase = phase; in MakeDashLineOp()
807 lineData.fIntervals[0] = intervals[0]; in MakeDashLineOp()
808 lineData.fIntervals[1] = intervals[1]; in MakeDashLineOp()
810 return DashOp::Make(std::move(paint), lineData, cap, aaMode, fullDash, stencilSettings); in MakeDashLineOp()