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

For information, pure Computer graphics bug #103

Open
devEric69 opened this issue Oct 6, 2020 · 0 comments
Open

For information, pure Computer graphics bug #103

devEric69 opened this issue Oct 6, 2020 · 0 comments

Comments

@devEric69
Copy link

devEric69 commented Oct 6, 2020

Hello,

I've found this bug (afaik, unrelated with X11 or GDI). I don't have the skills to understand where to fix it logically.

With the dark colored theme of my PC (Linux),
in the wuline_test program,
when drawing the spiral,
in the AlphaBlendPixel procedure (ACanvas: TfpgCanvas; X, Y: integer; R, G, B: word; ARatio: Double),
the line var LNew.Blue := round...
...raises a range check error with a B*ARatio that is negative. Indeed, LNew.Blue is typed as Byte, i.e. (0..255).

Regards.

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