1. fastest rectangle fill in Windows
- Posted by =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> Apr 16, 2000
- 399 views
- Last edited Apr 17, 2000
------=_NextPart_000_0007_01BFA7E4.0AB0BC40 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable what's the fastest way to fill rectangle in window in Windows? is it Rectangle() function or some other, like BitBlt(),...? i need it to smooth scroll text in window And this, why is SetPixel so slow? I dont get it. Isnt = Rectangle()function SetPixel in loop?=20 is ther some asm code i can use to get the fastest way to fill = rectangle? is ther some simple fast DirectDraw function i can use in *window* for = this? ------=_NextPart_000_0007_01BFA7E4.0AB0BC40 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>what's the fastest way to fill = rectangle in window=20 in Windows?</FONT></DIV> <DIV><FONT face=3DArial size=3D2>is it Rectangle() function or some = other, like=20 BitBlt(),...?</FONT></DIV> <DIV><FONT face=3DArial size=3D2>i need it to smooth scroll text in=20 window</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>And this, why is SetPixel so slow? I = dont get it.=20 Isnt Rectangle()function SetPixel in loop? </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>is ther some asm code i can use to get = the fastest=20 way to fill rectangle?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>is ther some simple fast DirectDraw = function i can=20 ------=_NextPart_000_0007_01BFA7E4.0AB0BC40--
2. Re: fastest rectangle fill in Windows
- Posted by Bernie Ryan <xotron at BUFFNET.NET> Apr 16, 2000
- 413 views
Why don't you use the windows ScrollWindowEx function the definition is here: http://msdn.microsoft.com/library/psdk/winui/scrolbar_0jaw.htm Bernie