-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow sloped/transform shape with non-identity transformation #1287
Changes from 2 commits
682ffbb
84ff87c
b6f665c
e0b71a1
d502bb2
d241efe
d281941
3b2e7e7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -466,6 +466,10 @@ | |
% } | ||
% | ||
\def\pgftransformlineattime#1#2#3{% | ||
\let\pgf@tempaa\pgf@pt@aa | ||
\let\pgf@tempab\pgf@pt@ab | ||
\let\pgf@tempba\pgf@pt@ba | ||
\let\pgf@tempbb\pgf@pt@bb | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The three pair of additions to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea, unfortunately That said, there's a lot more that they have in common. |
||
\pgf@process{#2}% | ||
\pgf@xb=\pgf@x% xb/yb = start point | ||
\pgf@yb=\pgf@y% | ||
|
@@ -479,6 +483,14 @@ | |
\ifpgfslopedattime% | ||
\advance\pgf@xc by-\pgf@xb% | ||
\advance\pgf@yc by-\pgf@yb% | ||
\ifpgfresetnontranslationattime | ||
\begingroup | ||
\pgfsettransformentries{\pgf@tempaa}{\pgf@tempab}{\pgf@tempba}{\pgf@tempbb}{0pt}{0pt}% | ||
\pgf@pos@transform{\pgf@xc}{\pgf@yc}% | ||
\xdef\pgf@marshal{\pgf@xc=\the\pgf@xc\pgf@yc=\the\pgf@yc}% | ||
\endgroup | ||
\pgf@marshal | ||
\fi | ||
\ifpgfallowupsidedownattime% | ||
\else% | ||
\ifdim\pgf@xc<0pt% | ||
|
@@ -515,6 +527,10 @@ | |
% } | ||
|
||
\def\pgftransformarcaxesattime#1#2#3#4#5#6{% | ||
\let\pgf@tempaa\pgf@pt@aa | ||
\let\pgf@tempab\pgf@pt@ab | ||
\let\pgf@tempba\pgf@pt@ba | ||
\let\pgf@tempbb\pgf@pt@bb | ||
\pgfpointarcaxesattime{#1}{#2}{#3}{#4}{#5}{#6}% | ||
\pgftransformshift{\pgfqpoint{\pgf@x}{\pgf@y}}% | ||
\ifpgfresetnontranslationattime% | ||
|
@@ -523,6 +539,12 @@ | |
\ifpgfslopedattime% | ||
\pgf@x=\pgf@xa% | ||
\pgf@y=\pgf@ya% | ||
\ifpgfresetnontranslationattime | ||
\begingroup | ||
\pgfsettransformentries{\pgf@tempaa}{\pgf@tempab}{\pgf@tempba}{\pgf@tempbb}{0pt}{0pt}% | ||
\pgf@process{\pgf@pos@transform{\pgf@x}{\pgf@y}}% | ||
\endgroup | ||
\fi | ||
\pgf@process{\pgfpointnormalised{}}% | ||
\ifpgfallowupsidedownattime% | ||
\else% | ||
|
@@ -564,6 +586,10 @@ | |
% } | ||
% | ||
\def\pgftransformcurveattime#1#2#3#4#5{% | ||
\let\pgf@tempaa\pgf@pt@aa | ||
\let\pgf@tempab\pgf@pt@ab | ||
\let\pgf@tempba\pgf@pt@ba | ||
\let\pgf@tempbb\pgf@pt@bb | ||
\pgfpointcurveattime{#1}{#2}{#3}{#4}{#5}% | ||
\pgftransformshift{\pgfqpoint{\pgf@x}{\pgf@y}}% | ||
\ifpgfresetnontranslationattime% | ||
|
@@ -574,6 +600,12 @@ | |
\pgf@y=\pgf@ya% | ||
\advance\pgf@x by-\pgf@xb% | ||
\advance\pgf@y by-\pgf@yb% | ||
\ifpgfresetnontranslationattime | ||
\begingroup | ||
\pgfsettransformentries{\pgf@tempaa}{\pgf@tempab}{\pgf@tempba}{\pgf@tempbb}{0pt}{0pt}% | ||
\pgf@process{\pgf@pos@transform{\pgf@x}{\pgf@y}}% | ||
\endgroup | ||
\fi | ||
\ifpgfallowupsidedownattime% | ||
\else% | ||
\ifdim\pgf@x<0pt% | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was already listed on line 30. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, I didn't realize that. The recent update only had your nickname so I didn't even scan past the
m
…