> Hi all,
> 
> I was just wondering how to draw simple 2D forms, like rectangles, squares, 
> circles,triangles,etc...
> In fact, I'm trying to draw buttons

what do you mean by buttons? Is that 2D only rectangles for making widget/GUI ?
in that case you should use or create a widget (see widget.py)

else you can use the OpenGL functions:

soya.glBegin(GL_QUADS)
soya.glVertex4f(0.0, 0.0, 0.0, 0.0)
..
soya.glEnd()

-blam


-- 
Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]


Reply via email to