\pgfdeclareshape{cross}{
    \savedanchor{\centerpoint}{
        \pgfpointorigin
    }
    \savedanchor{\east}{
        \pgfpoint{0.05cm}{0}
    }
    \savedanchor{\north}{
        \pgfpoint{0}{0.05cm}
    }


    \anchor{center}{
        \centerpoint
    }
    \anchor{east}{
        \east
    }
    \anchor{west}{
        \east
        \pgfpoint{-\pgf@x}{0}
    }
    \anchor{north}{
        \north
    }
    \anchor{south}{
        \north
        \pgfpoint{0}{-\pgf@y}
    }

    \backgroundpath{
        \east
        \pgf@xa = \pgf@x

        \pgfpathmoveto{\pgfpoint{-\pgf@xa}{\pgf@xa}}
        \pgfpathlineto{\pgfpoint{\pgf@xa}{-\pgf@xa}}

        \pgfpathmoveto{\pgfpoint{-\pgf@xa}{-\pgf@xa}}
        \pgfpathlineto{\pgfpoint{\pgf@xa}{\pgf@xa}}
        
        \pgfusepath{stroke}
    }
}