Lines Matching refs:lineData
701 DashOp::LineData lineData; in MakeDashLineOp() local
702 lineData.fSrcStrokeWidth = style.strokeRec().getWidth(); in MakeDashLineOp()
710 align_to_x_axis(pts, &rotMatrix, lineData.fPtsRot); in MakeDashLineOp()
711 if (!rotMatrix.invert(&lineData.fSrcRotInv)) { in MakeDashLineOp()
716 lineData.fSrcRotInv.reset(); in MakeDashLineOp()
717 memcpy(lineData.fPtsRot, pts, 2 * sizeof(SkPoint)); in MakeDashLineOp()
721 calc_dash_scaling(&lineData.fParallelScale, &lineData.fPerpendicularScale, viewMatrix, in MakeDashLineOp()
722 lineData.fPtsRot); in MakeDashLineOp()
723 if (SkScalarNearlyZero(lineData.fParallelScale) || in MakeDashLineOp()
724 SkScalarNearlyZero(lineData.fPerpendicularScale)) { in MakeDashLineOp()
728 SkScalar offInterval = intervals[1] * lineData.fParallelScale; in MakeDashLineOp()
729 SkScalar strokeWidth = lineData.fSrcStrokeWidth * lineData.fPerpendicularScale; in MakeDashLineOp()
731 if (SkPaint::kSquare_Cap == cap && 0 != lineData.fSrcStrokeWidth) { in MakeDashLineOp()
739 lineData.fViewMatrix = viewMatrix; in MakeDashLineOp()
740 lineData.fPhase = phase; in MakeDashLineOp()
741 lineData.fIntervals[0] = intervals[0]; in MakeDashLineOp()
742 lineData.fIntervals[1] = intervals[1]; in MakeDashLineOp()
744 return DashOp::Make(context, std::move(paint), lineData, cap, aaMode, fullDash, in MakeDashLineOp()