I wanto to paint the figure
But, I can only do the drawing without the painting.
My codes:
\documentclass[12pt]{article}
\usepackage{fontspec}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage{color}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{tikzpicture}[scale=1.5]
\draw (-.5,-.5) rectangle (.5,.5);
\draw (-1,-1) rectangle (1,1);
\clip (-1,-1) rectangle (1,1);
\draw (1,1) circle (1);
\draw (1,-1) circle (1);
\draw (-1,-1) circle (1);
\draw (-1,1) circle (1);
\end{tikzpicture}
\end{center}
\end{document}



