[Lazarus] "unexpected feature" of TPaintBox

Martin lazarus at mfriebe.de
Thu May 27 14:56:00 CEST 2010


On 27/05/2010 11:30, Engelbert Buxbaum wrote:
> Hi,
>
> the code below is part of a program to draw the Mandelbrot-set. It works, if the canvas is small (stamp-size). However, if the size is increased to 800x800, the middle 1/3 of the image is replaced by a vertical grey bar. Any ideas?
>    
*Sound* *like* a known bug in certain MS-Windows versions.

They ignore SetPixel for all x coordinates with bit 8=1

you can setpixels from 0 to 255, 512, to 767, 1024 to ....

It doesn't matter in which language, you program, the bug is in windows 
itself

Martin




More information about the Lazarus mailing list