Re: Smooth lines in Picturebox

Tech-Archive recommends: Speed Up your PC by fixing your registry



"Schmidt" <sss@xxxxxxxxx> wrote in message
news:%23CfD$5e7GHA.4064@xxxxxxxxxxxxxxxxxxxxxxx

Good point, now then let's write our own Halftone-Stretch, wich
works on systems < W2K too. :-) The following example . . . . .

Hi Olaf. Very nice code that. Works fine and produces a result very similar to StretchMode 4. Also, as you've found on your own systems, it is very fast. I haven't yet tried it on larger images, but on the test image it runs at about the same speed as the StretchBlt API if you include all necessary the code, and about 3 times faster than StretchBlt if you exclude the part of the code which gets the bitmap data into the array (GetArrFromHdl). Quite impressive. Excellent stuff.

Mike




.