\documentclass[a4paper]{article}
    \usepackage{graphicx}
    \usepackage{tikz}
    \usetikzlibrary{patterns}

\begin{document}
% \pgfdeclarepatternformonly{swnestripes}{\pgfpoint{0cm}{0cm}}{\pgfpoint{1cm}{1cm}}{\pgfpoint{1cm}{1cm}}
%    {
%        \foreach \i in {0.1cm, 0.3cm,...,0.9cm}
%        {
%         \pgfpathmoveto{\pgfpoint{\i}{0cm}}
%         \pgfpathlineto{\pgfpoint{1cm}{1cm - \i}}
%         \pgfpathlineto{\pgfpoint{1cm}{1cm - \i + 0.1cm}}
%         \pgfpathlineto{\pgfpoint{\i - 0.1cm}{0cm}}
%         \pgfpathclose
%         \pgfusepath{fill}
%         \pgfpathmoveto{\pgfpoint{0cm}{\i}}
%         \pgfpathlineto{\pgfpoint{1cm - \i}{1cm}}
%         \pgfpathlineto{\pgfpoint{1cm - \i - 0.1cm}{1cm}}
%         \pgfpathlineto{\pgfpoint{0cm}{\i + 0.1cm}}
%         \pgfpathclose
%         \pgfusepath{fill}
%        }
%    }
%    \pgfdeclarepatternformonly{swneStripes}{\pgfpoint{0cm}{0cm}}{\pgfpoint{1cm}{1cm}}{\pgfpoint{1cm}{1cm}}
%    {
%        \foreach \i in {0.1cm, 0.3cm,...,0.9cm}
%        {
%         \pgfpathmoveto{\pgfpoint{\i}{0cm}}
%         \pgfpathlineto{\pgfpoint{1cm}{1cm - \i}}
%         \pgfpathlineto{\pgfpoint{1cm}{1cm - \i - 0.1cm}}
%         \pgfpathlineto{\pgfpoint{\i + 0.1cm}{0cm}}
%         \pgfpathclose
%         \pgfusepath{fill}
%         \pgfpathmoveto{\pgfpoint{0cm}{\i}}
%         \pgfpathlineto{\pgfpoint{1cm - \i}{1cm}}
%         \pgfpathlineto{\pgfpoint{1cm - \i + 0.1cm}{1cm}}
%         \pgfpathlineto{\pgfpoint{0cm}{\i - 0.1cm}}
%         \pgfpathclose
%         \pgfusepath{fill}
%        }
%    }
%    \pgfdeclarepatternformonly{senwstripes}{\pgfpoint{0cm}{0cm}}{\pgfpoint{1cm}{1cm}}{\pgfpoint{1cm}{1cm}}
%    {
%        \foreach \i in {0.1cm, 0.3cm,...,0.9cm}
%        {
%         \pgfpathmoveto{\pgfpoint{0cm}{\i}}
%         \pgfpathlineto{\pgfpoint{0cm}{\i + 0.1cm}}
%         \pgfpathlineto{\pgfpoint{\i + 0.1cm}{0cm}}
%         \pgfpathlineto{\pgfpoint{\i}{0cm}}
%         \pgfpathclose
%         \pgfusepath{fill}
%         \pgfpathmoveto{\pgfpoint{1cm}{\i}}
%         \pgfpathlineto{\pgfpoint{\i}{1cm}}
%         \pgfpathlineto{\pgfpoint{\i + 0.1cm}{1cm}}
%         \pgfpathlineto{\pgfpoint{1cm}{\i + 0.1cm}}
%         \pgfpathclose
%         \pgfusepath{fill}
%        }
%    }
    \pgfdeclarepatternformonly{senwStripes}{\pgfpoint{0cm}{0cm}}{\pgfpoint{1cm}{1cm}}{\pgfpoint{1cm}{1cm}}
    {
        \foreach \i in {0.0, 0.2,...,0.8}
        {
         \pgfpathmoveto{\pgfpoint{\i cm}{0cm}}
         \pgfpathlineto{\pgfpoint{0cm}{\i cm}}
         \pgfpathlineto{\pgfpoint{0cm}{\i cm+ 0.1cm}}
         \pgfpathlineto{\pgfpoint{\i cm + 0.1cm}{0cm}}
         \pgfpathclose
         \pgfusepath{fill}
         \pgfpathmoveto{\pgfpoint{1cm}{\i cm}}
         \pgfpathlineto{\pgfpoint{\i cm}{1cm}}
         \pgfpathlineto{\pgfpoint{\i cm+ 0.1cm}{1cm}}
         \pgfpathlineto{\pgfpoint{1cm}{\i cm + 0.1cm}}
         \pgfpathclose
         \pgfusepath{fill}
        }
    }

\begin{tikzpicture}[scale=0.6, auto, swap]
       \filldraw[pattern=senwStripes, pattern color=magenta!60](0,0) rectangle (10,10);
\end{tikzpicture}

\end{document}
