Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Drawing a coloured Rectangle?

This thread is locked; no one can reply to it. rss feed Print
Drawing a coloured Rectangle?
lin lin
Member #7,251
May 2006

I've looked through the allegro online manual and all of them don't seem to give a function on how to draw a basic rectangle with adjustable size. Can the bliter do that? It should right? It's a basic function.

I am thinking of just making 2 bitmap's cover one another to have this effect.

Matthew Leverton
Supreme Loser
January 1999
avatar

lin lin
Member #7,251
May 2006

I was looking under here on the side menu the whole time..

http://www.allegro.cc/manual/4/api/blitting-and-sprites/draw_trans_sprite

No wonder I couldn't find it...

Thanks for the help.

Go to: