I am trying to superpose 2 rectangles; one blue, one red, and have the intersection area with a mix of blue and red. I have problems with the borders though.
I am not getting the thickness of the borders correctly where rectangles intersect
when using rounded corners, I don't see how to nicely get 2 angles rounded (south west and north east) and 2 not.
Any idea?

Here is my MWE:
\documentclass{article}
\usepackage{tikz}
\tikzset{
box1/.style={draw=black, thick, rectangle,rounded corners, minimum height=4cm, minimum width=4cm},
box2/.style={draw=black, thick, rectangle, minimum height=4cm, minimum width=4cm},
}
\begin{document}
\begin{tikzpicture}
\node[box1, fill=red!10] (c2) at (0,0) {};
\node[box1, fill=blue!10] (c1) at (2,2) {};
\begin{scope}
\clip (0,0) rectangle (4,4);
\clip (-2,-2) rectangle (2,2);
\fill[color=blue!50!red!10, rounded corners, draw=black, thick] (2,2) rectangle (0,0);
\end{scope}
\node[box2, fill=red!10] (c2) at (8,0) {};
\node[box2, fill=blue!10] (c1) at (10,2) {};
\begin{scope}
\clip (8,0) rectangle (12,4);
\clip (6,-2) rectangle (10,2);
\fill[color=blue!50!red!10, draw=black, thick] (10,2) rectangle (8,0);
\end{scope}
\end{tikzpicture}
\end{document}



chamfered rectanglewith the optionchamfered rectangle cornerscould be an alternative … See also http://tex.stackexchange.com/q/28115/4918 – Tobi Jun 22 '12 at 01:03