summaryrefslogtreecommitdiff
path: root/graphics/pgf/base/tex/tikzlibraryshapes.multipart.code.tex
blob: e9d5e2fa84b50a96394b0746aad89a5bb41107cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Copyright 2018 by Till Tantau and Mark Wibrow
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\ProvidesFileRCS{tikzlibraryshapes.multipart.code.tex}

\usepgflibrary{shapes.multipart}%

\pgfkeys{/tikz/rectangle split/parts/.code={%
    \pgfkeys{/pgf/rectangle split parts=#1}%
    }%
}%

\pgfkeys{/tikz/rectangle split use custom fill/.code={%
    \pgfkeys{/pgf/rectangle split use custom fill=#1}%
    \pgfkeys{/tikz/fill=none}}%
}%

\pgfkeys{/tikz/rectangle split draw splits/.is if=pgfrectanglesplitdrawsplits}%

\pgfkeys{/tikz/rectangle split part align/.code={%
        \pgfkeys{/pgf/rectangle split part align={#1}}%
    }%
}%

\pgfkeys{/tikz/rectangle split part fill/.code={%
        \pgfkeys{/pgf/rectangle split part fill={#1}}%
    }%
}%

\endinput