Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 3
mineure

15 Déc '20, 12:31

Pathe's gravatar image

Pathe
7.6k49210252

`\begin{tikzpicture} La fonction `clip` peut aider : \begin{tikzpicture} \clip (1,0) -- (0,1)--(0,4)--(4,4)--(4,0); \filldraw[blue, rounded corners, even odd rule] (0, 0) rectangle (3, 3) (1, 1) rectangle (2, 2) ; \end{tikzpicture}` peut-être?; \end{tikzpicture}
cliquez ici pour masquer/afficher la révision 2

14 Déc '20, 16:56

touhami's gravatar image

touhami
9.9k410

`\begin{tikzpicture} \filldraw[red!20, rounded corners] (-1, -1) rectangle (4, 4) ; \clip (1,0) -- (0,1)--(0,4)--(4,4)--(4,0); \filldraw[blue, rounded corners, even odd rule] (0, 0) rectangle (3, 3) (1, 1) rectangle (2, 2) ; \end{tikzpicture}` peut-être?
cliquez ici pour masquer/afficher la révision 1

14 Déc '20, 16:56

touhami's gravatar image

touhami
9.9k410