diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex | 188 |
1 files changed, 94 insertions, 94 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex b/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex index b64138dabf3..24bc7b8de72 100644 --- a/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex @@ -7,7 +7,7 @@ % % See the file doc/generic/pgf/licenses/LICENSE for more details. -\ProvidesFileRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/libraries/pgflibraryplotmarks.code.tex,v 1.14 2015/08/03 10:04:36 cfeuersaenger Exp $ +\ProvidesFileRCS{pgflibraryplotmarks.code.tex} % A stroked circle mark @@ -16,7 +16,7 @@ {% \pgfpathellipse{\pgfpointorigin}{\pgfqpoint{\pgfplotmarksize}{0sp}}{\pgfqpoint{0sp}{\pgfplotmarksize}}% \pgfusepathqstroke -} +}% % A Mercedes-line star @@ -30,7 +30,7 @@ \pgfpathmoveto{\pgfqpointpolar{-150}{\pgfplotmarksize}}% \pgfpathlineto{\pgfpointorigin}% \pgfusepathqstroke -} +}% \pgfdeclareplotmark{Mercedes star flipped} {% @@ -41,7 +41,7 @@ \pgfpathmoveto{\pgfqpointpolar{150}{\pgfplotmarksize}}% \pgfpathlineto{\pgfpointorigin}% \pgfusepathqstroke -} +}% @@ -57,7 +57,7 @@ \pgfpathmoveto{\pgfqpointpolar{-30}{\pgfplotmarksize}}% \pgfpathlineto{\pgfqpointpolar{-210}{\pgfplotmarksize}}% \pgfusepathqstroke -} +}% % A five-pointed star mark @@ -70,7 +70,7 @@ \pgfpathmoveto{\pgfpointorigin}\pgfpathlineto{\pgfqpointpolar{234}{\pgfplotmarksize}}% \pgfpathmoveto{\pgfpointorigin}\pgfpathlineto{\pgfqpointpolar{162}{\pgfplotmarksize}}% \pgfusepathqstroke -} +}% % An 10-pointed star mark @@ -83,7 +83,7 @@ \pgfpathmoveto{\pgfqpointpolar{234}{-\pgfplotmarksize}}\pgfpathlineto{\pgfqpointpolar{234}{\pgfplotmarksize}}% \pgfpathmoveto{\pgfqpointpolar{162}{-\pgfplotmarksize}}\pgfpathlineto{\pgfqpointpolar{162}{\pgfplotmarksize}}% \pgfusepathqstroke -} +}% % An \oplus mark @@ -96,7 +96,7 @@ \pgfpathmoveto{\pgfqpoint{0pt}{\pgfplotmarksize}}% \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfusepathqstroke -} +}% \pgfdeclareplotmark{oplus*} {% @@ -106,7 +106,7 @@ \pgfpathmoveto{\pgfqpoint{0pt}{\pgfplotmarksize}}% \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfusepathqfillstroke -} +}% % An \otimes mark @@ -119,7 +119,7 @@ \pgfpathmoveto{\pgfqpoint{-.70710678\pgfplotmarksize}{.70710678\pgfplotmarksize}}% \pgfpathlineto{\pgfqpoint{.70710678\pgfplotmarksize}{-.70710678\pgfplotmarksize}}% \pgfusepathqstroke -} +}% \pgfdeclareplotmark{otimes*} {% @@ -129,7 +129,7 @@ \pgfpathmoveto{\pgfqpoint{-.70710678\pgfplotmarksize}{.70710678\pgfplotmarksize}}% \pgfpathlineto{\pgfqpoint{.70710678\pgfplotmarksize}{-.70710678\pgfplotmarksize}}% \pgfusepathqfillstroke -} +}% % A vertical bar mark @@ -139,7 +139,7 @@ \pgfpathmoveto{\pgfqpoint{0pt}{\pgfplotmarksize}}% \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfusepathqstroke -} +}% @@ -150,7 +150,7 @@ \pgfpathmoveto{\pgfqpoint{\pgfplotmarksize}{0pt}}% \pgfpathlineto{\pgfqpoint{-\pgfplotmarksize}{0pt}}% \pgfusepathqstroke -} +}% % A square stroked mark @@ -159,7 +159,7 @@ {% \pgfpathrectangle{\pgfqpoint{-\pgfplotmarksize}{-\pgfplotmarksize}}{\pgfqpoint{2\pgfplotmarksize}{2\pgfplotmarksize}}% \pgfusepathqstroke -} +}% % A square stroked-filled mark @@ -167,7 +167,7 @@ {% \pgfpathrectangle{\pgfqpoint{-\pgfplotmarksize}{-\pgfplotmarksize}}{\pgfqpoint{2\pgfplotmarksize}{2\pgfplotmarksize}}% \pgfusepathqfillstroke -} +}% % A triangle mark @@ -179,7 +179,7 @@ \pgfpathlineto{\pgfqpointpolar{-150}{\pgfplotmarksize}}% \pgfpathclose \pgfusepathqstroke -} +}% % A stroke-filled triangle mark @@ -191,7 +191,7 @@ \pgfpathlineto{\pgfqpointpolar{-150}{\pgfplotmarksize}}% \pgfpathclose \pgfusepathqfillstroke -} +}% @@ -205,7 +205,7 @@ \pgfpathlineto{\pgfqpoint{-.75\pgfplotmarksize}{0pt}}% \pgfpathclose \pgfusepathqstroke -} +}% % A stroke-filled diamond-shaped mark @@ -218,7 +218,7 @@ \pgfpathlineto{\pgfqpoint{-.75\pgfplotmarksize}{0pt}}% \pgfpathclose \pgfusepathqfillstroke -} +}% @@ -233,7 +233,7 @@ \pgfpathlineto{\pgfqpointpolar{162}{\pgfplotmarksize}}% \pgfpathclose \pgfusepathqstroke -} +}% % A stroke-filled pentagon-shaped mark @@ -246,7 +246,7 @@ \pgfpathlineto{\pgfqpointpolar{162}{\pgfplotmarksize}}% \pgfpathclose \pgfusepathqfillstroke -} +}% \newif\ifpgfmarktext@usetikznode \pgfkeys{ @@ -254,7 +254,7 @@ /pgf/text mark style/.initial=, /pgf/text mark as node/.is if=pgfmarktext@usetikznode, /pgf/text mark as node/.default=true, - % + % % backw. compat: the extra search path confuses the '.unknown' % handlers, so this here is deprecated: /pgf/text mark/style/.style={/pgf/text mark style={#1}},% @@ -270,17 +270,17 @@ \else \expandafter\pgftext\expandafter[\pgfmarktext@style]{\pgfmarktext@}% \fi -} +}% -\pgfkeysdef{/pgf/mark color}{\def\pgf@mark@color{#1}} +\pgfkeysdef{/pgf/mark color}{\def\pgf@mark@color{#1}}% \let\pgf@mark@color\pgfutil@empty \def\pgf@set@mark@color{% - \ifx\pgf@mark@color\pgfutil@empty - \pgfsys@color@rgb@fill{1}{1}{1}% - \else - \pgfsetfillcolor{\pgf@mark@color}% - \fi + \ifx\pgf@mark@color\pgfutil@empty + \pgfsys@color@rgb@fill{1}{1}{1}% + \else + \pgfsetfillcolor{\pgf@mark@color}% + \fi }% \def\pgf@mark@color@none{none}% @@ -289,44 +289,44 @@ % created by Tomek \pgfdeclareplotmark{halfcircle}{% - \ifx\pgf@mark@color@none\pgf@mark@color - \else - \pgfscope - \pgf@set@mark@color - \pgfpathmoveto - {\pgfqpoint{-\pgfplotmarksize}{0pt}}% - \pgfpatharc{180}{360}{\pgfplotmarksize}% - \pgfusepathqfill - \endpgfscope% - \fi - \pgfpathmoveto - {\pgfqpoint{-\pgfplotmarksize}{0pt}}% - \pgfpathlineto - {\pgfqpoint{\pgfplotmarksize}{0pt}}% - \pgfpathcircle{\pgfpointorigin}% - {\pgfplotmarksize}% - \pgfusepathqstroke -} + \ifx\pgf@mark@color@none\pgf@mark@color + \else + \pgfscope + \pgf@set@mark@color + \pgfpathmoveto + {\pgfqpoint{-\pgfplotmarksize}{0pt}}% + \pgfpatharc{180}{360}{\pgfplotmarksize}% + \pgfusepathqfill + \endpgfscope% + \fi + \pgfpathmoveto + {\pgfqpoint{-\pgfplotmarksize}{0pt}}% + \pgfpathlineto + {\pgfqpoint{\pgfplotmarksize}{0pt}}% + \pgfpathcircle{\pgfpointorigin}% + {\pgfplotmarksize}% + \pgfusepathqstroke +}% \pgfdeclareplotmark{halfcircle*}{% \pgfpathmoveto {\pgfqpoint{\pgfplotmarksize}{0pt}}% \pgfpatharc{0}{180}{\pgfplotmarksize}% \pgfpathclose \pgfusepathqfill - \ifx\pgf@mark@color@none\pgf@mark@color - \else - \pgfscope - \pgf@set@mark@color - \pgfpathmoveto - {\pgfqpoint{-\pgfplotmarksize}{0pt}}% - \pgfpatharc{180}{360}{\pgfplotmarksize}% - \pgfusepathqfill - \endpgfscope% - \fi - \pgfpathcircle{\pgfpointorigin}% - {\pgfplotmarksize}% - \pgfusepathqstroke -} + \ifx\pgf@mark@color@none\pgf@mark@color + \else + \pgfscope + \pgf@set@mark@color + \pgfpathmoveto + {\pgfqpoint{-\pgfplotmarksize}{0pt}}% + \pgfpatharc{180}{360}{\pgfplotmarksize}% + \pgfusepathqfill + \endpgfscope% + \fi + \pgfpathcircle{\pgfpointorigin}% + {\pgfplotmarksize}% + \pgfusepathqstroke +}% % A half-down-filled and half-up-filled-white diamond-shaped mark % created by Magnus Tewes @@ -338,13 +338,13 @@ \pgfusepathqfill \ifx\pgf@mark@color@none\pgf@mark@color \else - \pgfscope - \pgf@set@mark@color - \pgfpathmoveto{\pgfqpoint{.75\pgfplotmarksize}{0pt}}% - \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% - \pgfpathlineto{\pgfqpoint{-.75\pgfplotmarksize}{0pt}}% - \pgfusepathqfill - \endpgfscope + \pgfscope + \pgf@set@mark@color + \pgfpathmoveto{\pgfqpoint{.75\pgfplotmarksize}{0pt}}% + \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% + \pgfpathlineto{\pgfqpoint{-.75\pgfplotmarksize}{0pt}}% + \pgfusepathqfill + \endpgfscope \fi \pgfpathmoveto{\pgfqpoint{.75\pgfplotmarksize}{0pt}}% \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% @@ -352,7 +352,7 @@ \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfpathclose \pgfusepathqstroke -} +}% % A half-down-filled and half-up-filled-white tilted-squared-shaped mark % created by Magnus Tewes @@ -364,13 +364,13 @@ \pgfusepathqfill \ifx\pgf@mark@color@none\pgf@mark@color \else - \pgfscope - \pgf@set@mark@color - \pgfpathmoveto{\pgfqpoint{\pgfplotmarksize}{0pt}}% - \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% - \pgfpathlineto{\pgfqpoint{-\pgfplotmarksize}{0pt}}% - \pgfusepathqfill - \endpgfscope + \pgfscope + \pgf@set@mark@color + \pgfpathmoveto{\pgfqpoint{\pgfplotmarksize}{0pt}}% + \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% + \pgfpathlineto{\pgfqpoint{-\pgfplotmarksize}{0pt}}% + \pgfusepathqfill + \endpgfscope \fi \pgfpathmoveto{\pgfqpoint{\pgfplotmarksize}{0pt}}% \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% @@ -378,7 +378,7 @@ \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfpathclose \pgfusepathqstroke -} +}% % A half-right-filled and half-up-filled-white tilted-squared-shaped mark % created by Magnus Tewes @@ -390,13 +390,13 @@ \pgfusepathqfill \ifx\pgf@mark@color@none\pgf@mark@color \else - \pgfscope - \pgf@set@mark@color - \pgfpathmoveto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% - \pgfpathlineto{\pgfqpoint{-\pgfplotmarksize}{0pt}}% - \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% - \pgfusepathqfill - \endpgfscope + \pgfscope + \pgf@set@mark@color + \pgfpathmoveto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% + \pgfpathlineto{\pgfqpoint{-\pgfplotmarksize}{0pt}}% + \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% + \pgfusepathqfill + \endpgfscope \fi \pgfpathmoveto{\pgfqpoint{\pgfplotmarksize}{0pt}}% \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% @@ -404,7 +404,7 @@ \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfpathclose \pgfusepathqstroke -} +}% % A half-left-filled and half-up-filled-white tilted-squared-shaped mark % created by Magnus Tewes @@ -416,13 +416,13 @@ \pgfusepathqfill \ifx\pgf@mark@color@none\pgf@mark@color \else - \pgfscope - \pgf@set@mark@color - \pgfpathmoveto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% - \pgfpathlineto{\pgfqpoint{\pgfplotmarksize}{0pt}}% - \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% - \pgfusepathqfill - \endpgfscope + \pgfscope + \pgf@set@mark@color + \pgfpathmoveto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% + \pgfpathlineto{\pgfqpoint{\pgfplotmarksize}{0pt}}% + \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% + \pgfusepathqfill + \endpgfscope \fi \pgfpathmoveto{\pgfqpoint{\pgfplotmarksize}{0pt}}% \pgfpathlineto{\pgfqpoint{0pt}{\pgfplotmarksize}}% @@ -430,7 +430,7 @@ \pgfpathlineto{\pgfqpoint{0pt}{-\pgfplotmarksize}}% \pgfpathclose \pgfusepathqstroke -} +}% % A stroke-filled heart-shaped mark @@ -447,7 +447,7 @@ \pgfpathcurveto{\pgfqpoint{.5\pgfplotmarksize}{-1.165\pgfplotmarksize}}{\pgfqpoint{0pt}{-1.66\pgfplotmarksize}}{\pgfqpoint{0pt}{-1.75\pgfplotmarksize}}% \pgfpathclose \pgfusepathqfillstroke -} +}% \endinput |