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

DrawGroup(list) #28

Open
SjoerdOptLand opened this issue Nov 26, 2012 · 2 comments
Open

DrawGroup(list) #28

SjoerdOptLand opened this issue Nov 26, 2012 · 2 comments

Comments

@SjoerdOptLand
Copy link
Member

Can contain anything that has draw(), rectangle() and move() methods.

draw() calls draw() upon all items
rectangle() takes the maximum of all items
setting a corner or the center moves all items

@SjoerdOptLand
Copy link
Member Author

And, eventually mirror()

@SjoerdOptLand
Copy link
Member Author

Instead of calling the rectangle() function of every constituent, one might also call the convecHull() of every constituent. Only at the top level, this convex hull is casted to an outer rectangle()

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