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

toForm is not documented (and a bit illogical I think) #54

Closed
rvion opened this issue Dec 1, 2012 · 1 comment
Closed

toForm is not documented (and a bit illogical I think) #54

rvion opened this issue Dec 1, 2012 · 1 comment

Comments

@rvion
Copy link

rvion commented Dec 1, 2012

toForm :: (Number,Number) -> Element -> Form
Turn any Element into a Form

There is no way to find out that the middle of the element will be placed at Number, Number
except trial and error or examples.

also, wouldn't it be better to put the corner at (Number, Number) ?

@evancz
Copy link
Member

evancz commented Dec 2, 2012

Added more info; will push soon. All forms are positioned from their center. I believe it is more common to want to rotate a form about its center than about its top left corner. It is this way for consistency and to suit my personal preference.

@evancz evancz closed this as completed Dec 2, 2012
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

2 participants