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

Extract Renderer code to a single class/interface #92

Closed
ForNeVeR opened this issue Nov 26, 2017 · 0 comments
Closed

Extract Renderer code to a single class/interface #92

ForNeVeR opened this issue Nov 26, 2017 · 0 comments
Assignees

Comments

@ForNeVeR
Copy link
Owner

Currently there's a Box.Draw method that's implemented in a relative small number of classes.

For further extensibility, I'd like these methods to be extracted to the IRenderer interface and WpfRenderer class using the Visitor pattern (or something alike).

In future, we'll likely extract Box.RenderGeometry (that has the same form as the Draw method) to another IRenderer implementation, GeometryRenderer. That will also open a way for alternate implementations, such as DirectXRenderer and AvaloniaRenderer.

@ForNeVeR ForNeVeR self-assigned this Nov 26, 2017
@ForNeVeR ForNeVeR mentioned this issue Nov 27, 2017
4 tasks
ForNeVeR added a commit that referenced this issue Nov 28, 2017
ForNeVeR added a commit that referenced this issue Nov 29, 2017
FSharp.Core was updated to use the Foq library.
ForNeVeR added a commit that referenced this issue Dec 1, 2017
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