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

Introduce render? #31

Open
ajkeller34 opened this issue Nov 17, 2017 · 1 comment
Open

Introduce render? #31

ajkeller34 opened this issue Nov 17, 2017 · 1 comment

Comments

@ajkeller34
Copy link
Contributor

It would be nice to be able to use render methods without introducing a cell, just to get the raw polygons. Perhaps something like

r = Rectangle(10µm, 10µm)
plgs = render(r, Rectangles.Rounded(2µm))
@ajkeller34
Copy link
Contributor Author

On a related note, there could be a render! method that acts on an array of polygons instead of a cell, e.g.

r = Rectangle(10µm, 10µm)
plgs = render(r, Rectangles.Rounded(2µm))
render!(plgs, r + Point(20µm, 20µm), Rectangles.Plain())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant