How do I draw a filled rectangle using S.D.L.?

How do I draw a filled rectangle using S.D.L.???

I looked at the HTML help and it seems like drawing a simple filled
rectangle is ridiculously difficult with S.D.L. ???

Can someone please give me a C++ code example of drawing a filled rectangle
using S.D.L. ???

Thanks in advance…

Jesse
SLNTHERO at AOL.com

Hello !

I looked at the HTML help and it seems like drawing a simple filled
rectangle is ridiculously difficult with S.D.L. ???

Can someone please give me a C++ code example of drawing a filled
rectangle using S.D.L. ???

It is VERY easy, look at :

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fFillRect

Please use the DocWiki too when looking
for help. It contains many usefull expl.
and source examples.

CU

Speaking of which, IMHO the SDL homepage should make it clearer that
the Wiki is the main up-to-date source for SDL documentation.On 8/24/06, Torsten Giebl wrote:

Please use the DocWiki too when looking
for help. It contains many usefull expl.
and source examples.

  • SR