Skip to content
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

correctly (?) compute shaftScale by solving a quadratic #127

Merged
merged 1 commit into from
Oct 11, 2013

Conversation

byorgey
Copy link
Member

@byorgey byorgey commented Oct 11, 2013

Fixes #126. I hope.

Also removes startTangent and endTangent in favor of the new machinery
in Diagrams.Tangent.

Fixes #126. I hope.

Also removes startTangent and endTangent in favor of the new machinery
in Diagrams.Tangent.
@jeffreyrosenbluth
Copy link
Member

That looks right. Did it work on t he example in #126?

Sent from my iPad

On Oct 11, 2013, at 12:19 PM, Brent Yorgey notifications@github.com wrote:

Fixes #126. I hope.

Also removes startTangent and endTangent in favor of the new machinery
in Diagrams.Tangent.

You can merge this Pull Request by running

git pull https://github.com/diagrams/diagrams-lib arrow-shaftScale
Or view, comment on, or merge it at:

#127

Commit Summary

correctly (?) compute shaftScale by solving a quadratic
File Changes

M src/Diagrams/TwoD/Arrow.hs (55)
Patch Links:

https://github.com/diagrams/diagrams-lib/pull/127.patch
https://github.com/diagrams/diagrams-lib/pull/127.diff

@bergey
Copy link
Member

bergey commented Oct 11, 2013

This looks right to me, and probably is easier to understand than the way I was thinking of. And it produces the expected results on the (9-circle) test diagram.

@bergey
Copy link
Member

bergey commented Oct 11, 2013

And on the #126 example.

bergey added a commit that referenced this pull request Oct 11, 2013
correctly (?) compute shaftScale by solving a quadratic
@bergey bergey merged commit b50b9f5 into master Oct 11, 2013
@byorgey
Copy link
Member Author

byorgey commented Oct 11, 2013

Yes, I tried it on both the 9-circle test diagram and the example in #126, both produce the expected results.

@jeffreyrosenbluth
Copy link
Member

That's great.

Sent from my iPad

On Oct 11, 2013, at 12:40 PM, Brent Yorgey notifications@github.com wrote:

Yes, I tried it on both the 9-circle test diagram and the example in #126, both produce the expected results.


Reply to this email directly or view it on GitHub.

jeffreyrosenbluth added a commit that referenced this pull request Oct 11, 2013
@byorgey byorgey deleted the arrow-shaftScale branch November 9, 2013 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arrow misses target
3 participants