[Lazarus] "unexpected feature" of TPaintBox

Marc Weustink marc at dommelstein.net
Fri May 28 16:55:47 CEST 2010


Martin wrote:
> 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

AFAIK it is fixed in trunk.

Marc





More information about the Lazarus mailing list