fpGUI icon indicating copy to clipboard operation
fpGUI copied to clipboard

For information, pure Computer graphics bug

Open infologick opened this issue 5 years ago • 0 comments

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.

infologick avatar Oct 06 '20 10:10 infologick