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

Shapes or line based filling #4

Open
Trilarion opened this issue Jan 26, 2018 · 0 comments
Open

Shapes or line based filling #4

Trilarion opened this issue Jan 26, 2018 · 0 comments

Comments

@Trilarion
Copy link
Owner

Currently the app has png compressed black and white images of continuous lines and then using a custom fill algorithm for the coloring. It's not too difficult and works well except for very large images and complicated shapes where filling can take a bit longer.

Instead if could convert the white areas in the images to shapes and then use underlying filling capabilities of the OS. This may not be faster actually, but probably would use less memory and less code and might potentially scale better on a high resolution screen. It would also mean that the images must be stored differently (as collection of shapes instead).

It's a bit like rasterized images versus vector graphics.

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