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

Add renderer backends #3

Merged
merged 2 commits into from
May 18, 2019
Merged

Add renderer backends #3

merged 2 commits into from
May 18, 2019

Conversation

KarthikRIyer
Copy link
Owner

I have added the renderer backends as suggested with them following a Renderer protocol and eliminating Vectorizer and VectorizerProtocol.
I've removed the save image methods from the protocol.

Please review. I'll open the next two PRs to add the LinePlot and examples once the first two are merged.

Copy link
Collaborator

@BradLarson BradLarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I commented about this on the other PR, but I think the Renderer instances should probably be classes instead of structs due to the amount of internal mutation involved with them. That would remove a lot of the mutating references here and generally clean up the code.

@KarthikRIyer KarthikRIyer changed the base branch from package_init to master May 18, 2019 03:41
@KarthikRIyer KarthikRIyer merged commit c075db1 into master May 18, 2019
@KarthikRIyer KarthikRIyer deleted the renderer_backends branch January 11, 2020 07:22
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.

2 participants