Hello,
I have coded a set of 2d basic shapes (rectangle, round rectangle,
ellipse, triangle, cross, star) to be used with pyglet. All shapes are
defined by a position in 2D space, a dimension in 2D space, a x
alignment ('left', 'center' or 'right'), a y alignment ('top',
'center' or 'bottom'), a set of background colors, an optional
background texture and a set of foreground colors. All shapes can be
easily selected with the mouse.
Screenshot and code: http://www.loria.fr/~rougier/shapes.html
Just run shape.py and click on each shape to get its identity.
Nicolas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---