summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/yquant/tex/yquant-shapes.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-25 03:01:07 +0000
committerNorbert Preining <norbert@preining.info>2022-12-25 03:01:07 +0000
commit90ef58ebc56f69220f860d466e1e21ed68ce9a55 (patch)
tree1b6ae8a0cb89728c9f71447236a171da28b786a1 /graphics/pgf/contrib/yquant/tex/yquant-shapes.tex
parentda0bd16b0ba9d42d044af47137003788f0b7f773 (diff)
CTAN sync 202212250301
Diffstat (limited to 'graphics/pgf/contrib/yquant/tex/yquant-shapes.tex')
-rw-r--r--graphics/pgf/contrib/yquant/tex/yquant-shapes.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/yquant/tex/yquant-shapes.tex b/graphics/pgf/contrib/yquant/tex/yquant-shapes.tex
index e4cc01e63f..3e010938c3 100644
--- a/graphics/pgf/contrib/yquant/tex/yquant-shapes.tex
+++ b/graphics/pgf/contrib/yquant/tex/yquant-shapes.tex
@@ -388,6 +388,26 @@
\inheritclippath[from=yquant-circle]%
}
+\pgfdeclareshape{yquant-ocross}{%
+ \inheritsavedanchors[from=yquant-slash]%
+ \foreach \anc in {center, north, north east, east, south east, south, south west, west, north west} {%
+ \inheritanchor[from=yquant-circle]{\anc}%
+ }%
+ \inheritanchorborder[from=yquant-circle]%
+ \backgroundpath{%
+ \dimen2=.70710678\dimexpr\xradius\relax%
+ \dimen4=.70710678\dimexpr\yradius\relax
+ \pgfpathmoveto{\pgfqpoint{\dimen2}{\dimen4}}%
+ \pgfpathlineto{\pgfqpoint{-\dimen2}{-\dimen4}}%
+ \pgfpathmoveto{\pgfqpoint{-\dimen2}{\dimen4}}%
+ \pgfpathlineto{\pgfqpoint{\dimen2}{-\dimen4}}%
+ \pgfpathellipse{\pgfpointorigin}%
+ {\pgfqpoint{\xradius}{0pt}}%
+ {\pgfqpoint{0pt}{\yradius}}%
+ }%
+ \inheritclippath[from=yquant-circle]%
+}
+
\pgfdeclareshape{yquant-measure}{%
\saveddimen\xradius{%
\pgfmathsetlength\pgf@x{\pgfkeysvalueof{/tikz/x radius}}%