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

Improve closest-side / farthest-side calculation in ellipse() #10

Open
4 tasks
oslego opened this issue Mar 15, 2014 · 0 comments
Open
4 tasks

Improve closest-side / farthest-side calculation in ellipse() #10

oslego opened this issue Mar 15, 2014 · 0 comments

Comments

@oslego
Copy link
Member

oslego commented Mar 15, 2014

Currently naively assuming center in 50% 50%
Consolidate compute method into CSSUtils for use by circle()

Acceptance tests:

  • ellipse(closest-side at 10% 70%)
  • ellipse(closest-side farthest-side at 10% 70%)
  • ellipse(farthest-side closest-side at 10% 70%)
  • ellipse(closest-side closest-side at -100px -100px) // yields zero-size ellipse
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

No branches or pull requests

1 participant