| 1 |
%% Copyright 2016 Nils Fleischhacker |
| 2 |
%% |
| 3 |
%% This work may be distributed and/or modified under the |
| 4 |
%% conditions of the LaTeX Project Public License, either |
| 5 |
%% version 1.3 of this license or (at your option) any later |
| 6 |
%% version. The latest version of this license is in |
| 7 |
%% |
| 8 |
%% http://www.latex-project.org/lppl.txt |
| 9 |
%% |
| 10 |
%% and version 1.3 or later is part of all distributions of |
| 11 |
%% LaTeX version 2005/12/01 or later. |
| 12 |
%% |
| 13 |
%% This work has the LPPL maintenance status `maintained'. |
| 14 |
%% |
| 15 |
%% The Current Maintainer of this work is Nils Fleischhacker. |
| 16 |
\newcommand{\tikzpeople@devil@paint}{ |
| 17 |
\@tikzpeople@eviltrue |
| 18 |
\tikzpeople@devil@painttail |
| 19 |
\tikzpeople@person@paintshirt |
| 20 |
\tikzpeople@devil@painttorso |
| 21 |
\tikzpeople@person@paintrighthorn |
| 22 |
\tikzpeople@person@painthead |
| 23 |
\tikzpeople@person@painthairstyletwo |
| 24 |
\tikzpeople@person@paintgoatee |
| 25 |
\tikzpeople@person@paintlefthorn |
| 26 |
\tikzpeople@person@painthalo |
| 27 |
} |
| 28 |
|
| 29 |
\newcommand{\tikzpeople@devil@definecolors}{ |
| 30 |
\definecolor{skin}{RGB}{216,52,38} |
| 31 |
\definecolor{hair}{named}{black} |
| 32 |
\definecolor{shirt}{named}{black} |
| 33 |
} |
| 34 |
|
| 35 |
\newcommand{\tikzpeople@devil@definestyles}{ |
| 36 |
\if@tikzpeople@saturated |
| 37 |
\tikzset{ |
| 38 |
tail/.style ={color=\tikzpeople@skin,double=\tikzpeople@skin!90,double distance=.4pt*\scalingfactor}, |
| 39 |
horns/.style={skin} |
| 40 |
} |
| 41 |
\else |
| 42 |
\tikzset{ |
| 43 |
skin/.style ={color=\tikzpeople@skin!80,top color=\tikzpeople@skin!50,bottom color=\tikzpeople@skin!80}, |
| 44 |
tail/.style ={color=\tikzpeople@skin!80,double=\tikzpeople@skin!70,double distance=.4pt*\scalingfactor}, |
| 45 |
horns/.style={skin} |
| 46 |
} |
| 47 |
\fi |
| 48 |
} |
| 49 |
|
| 50 |
\newcommand{\tikzpeople@devil@painttail}{ |
| 51 |
\draw[tail] |
| 52 |
(250:7pt) to[out=80,in=10] ++(130:3.5pt) to[out=190,in=190,looseness=3] ++(95:2.5pt) to[out=10,in=300,looseness=2] ++(100:3pt) coordinate (tikzpeople@tmp); |
| 53 |
{ |
| 54 |
\pgftransformrotate{30} |
| 55 |
\draw[skin] (tikzpeople@tmp) ++(-.1pt,0) to[out=200,in=80] ++(-.8pt,-.7pt) to[out=90,in=220] ++(.9pt,2pt) to[out=320,in=90] ++(.9pt,-2pt) to[out=80,in=340] ++(-.8pt,.7pt); |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
\newcommand{\tikzpeople@devil@painttorso}{ |
| 60 |
\begin{scope} |
| 61 |
\clip |
| 62 |
(-4.0pt,-8.0pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) .. |
| 63 |
( 5.0pt,-7.0pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) .. |
| 64 |
(-4.0pt,-8.0pt) -- cycle; |
| 65 |
\draw[skin] |
| 66 |
(-1.9pt,-1pt) to[out=290,in=80] |
| 67 |
(-1.2pt,-9.2pt) -- (4.5pt,-9pt) to[out=120,in=280] (1.6pt,-1pt); |
| 68 |
\draw[color=\tikzpeople@shirt\if@tikzpeople@saturated\else!80\fi] |
| 69 |
(-4.0pt,-8.0pt) .. controls (-2pt,-10pt) and ( 3pt,-9pt) .. |
| 70 |
( 5.0pt,-7.0pt) .. controls ( 5pt, 0pt) and (-5pt, 0pt) .. |
| 71 |
(-4.0pt,-8.0pt) -- cycle; |
| 72 |
\end{scope} |
| 73 |
} |
| 74 |
|
| 75 |
\newcommand{\tikzpeople@devil@colors}{ |
| 76 |
shirt/200/{-1/-.6}, hair/160/{-.75/.7}, skin/20/{.6/.7,.15/-.4}% |
| 77 |
} |