Drawing polygons with Ruby/SDL

Hi.
I’m learning to use Ruby/SDL to write a simple game.
However, I have a trouble to find methods that draws polygons (SDL has
them
and I thought Ruby/SDL also does.)
How can I draw polygons using Ruby/SDL?
Thank you.

On Tue, 10 Jul 2007 09:34:31 +0900
“Sun P.” [email protected] wrote:

Hi.
I’m learning to use Ruby/SDL to write a simple game.
However, I have a trouble to find methods that draws polygons (SDL has them
and I thought Ruby/SDL also does.)
How can I draw polygons using Ruby/SDL?
Thank you.

If you are talking about drawing circles, squares, etc,
you can use the Surface methods listed on the reference[1]

Steven D.

[1] Ruby/SDL Reference Manual

Thanks, but what I want is drawing shapes with an array of points…

2007/7/11, Steven D. [email protected]: