39 lines
1.2 KiB
TeX
39 lines
1.2 KiB
TeX
\newif\iftestmode
|
|
\testmodetrue % Change to true for standalone rendering
|
|
\newif\ifcreatepdflayers
|
|
\createpdflayerstrue % Change to true for Embedded layers in PDF output
|
|
\iftestmode
|
|
\documentclass[tikz]{standalone}
|
|
\usepackage{xcolor}
|
|
\usetikzlibrary{ocgx}
|
|
\begin{document}
|
|
\fi
|
|
\pgfdeclarelayer{l2}
|
|
\definecolor{c2}{rgb}{0.203922,0.396078,0.643137}
|
|
\pgfdeclarelayer{l1}
|
|
\definecolor{c1}{rgb}{0.450980,0.823529,0.086275}
|
|
\pgfsetlayers{l2,l1,main}
|
|
\begin{tikzpicture}
|
|
\begin{pgfonlayer}{l1}
|
|
\ifcreatepdflayers
|
|
\begin{scope}[ocg={ref=1, status=visible,name={TOP-Layer}}]
|
|
\fi]
|
|
\draw[line width=0.300000 pt, draw={c1}, opacity={1.000000}] (-1.218000 pt, 0.711000 pt) -- (-0.197000 pt, 0.425000 pt) -- (-0.027000 pt, -0.046000 pt) -- (0.919000 pt, -0.304000 pt);
|
|
\ifcreatepdflayers
|
|
\end{scope}
|
|
\fi
|
|
\end{pgfonlayer}
|
|
\begin{pgfonlayer}{l2}
|
|
\ifcreatepdflayers
|
|
\begin{scope}[ocg={ref=2, status=visible,name={BOTTOM-Layer}}]
|
|
\fi]
|
|
\draw[line width=0.00001 pt, draw={c2}, fill={c2}, fill opacity={1.000000}] (-1.264000 pt, -0.471000 pt) -- (-1.264000 pt, 0.768000 pt) -- (1.047000 pt, 0.768000 pt) -- (1.047000 pt, -0.471000 pt) -- (-1.264000 pt, -0.471000 pt) -- cycle;
|
|
\ifcreatepdflayers
|
|
\end{scope}
|
|
\fi
|
|
\end{pgfonlayer}
|
|
\end{tikzpicture}
|
|
\iftestmode
|
|
\end{document}
|
|
\fi
|