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

Improved Command Rendering #4

Open
PeteMichaud opened this issue Mar 7, 2022 · 0 comments
Open

Improved Command Rendering #4

PeteMichaud opened this issue Mar 7, 2022 · 0 comments

Comments

@PeteMichaud
Copy link

I don't know if you're interested in improving the code after all this time, but just in case:

mmps has an issue with rendering things like the grid and analemma because of some segmenting logic in PlotLineAux. I fixed this logic in my project and the changes wouldn't be that hard to backport. Check out:

https://github.com/PeteMichaud/MapProjectorStudio/blob/master/MapProjectorLib/Image.cs

The relevant portion is PlotLineSegment which is the equivalent of PlotLineAux in mmps. I'm doing the bounds checking a little differently so that only very tiny segments at the margins are potentially dropped, which makes the whole thing behave more smoothly.

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