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

Better fill algorithm for BOX's fill mode #110

Open
dansanderson opened this issue Jan 14, 2024 · 0 comments
Open

Better fill algorithm for BOX's fill mode #110

dansanderson opened this issue Jan 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dansanderson
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The BOX command has a "fill" mode that is currently implemented as a series of lines. This leaves gaps in some cases.

Box1

Describe the solution you'd like
Use a more thorough polygon fill algorithm.

Describe alternatives you've considered
We've speculated about replacing or augmenting BASIC's graphics subsystem to use a different graphics mode where DMA could be used for much faster line drawing. This could offer more ways to draw filled boxes.

The BASIC bitmap graphics subsystem is not our highest priority, so it's possible this won't see improvement any time soon.

Additional context
Originally reported here: https://www.forum64.de/index.php?thread/128028-bug-report-box-command-with-solid-option/

See especially Mike's reply for an example fill algorithm.

@dansanderson dansanderson added new New report, not classified yet enhancement New feature or request and removed new New report, not classified yet labels Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant