how to draw line on mygui?

magicstone

14-10-2008 05:53:45

hi,i hope draw line and curve on gui,what i can do?
thanksï¼

Altren

14-10-2008 13:13:20

MyGUI not giving you such functionality - you only can use some widget. For example StaticImage with texture containing line or curve. You can generate such texture using http://www.ogre3d.org/phpBB2/viewtopic.php?t=26987 or something else.

magicstone

24-10-2008 16:45:19

MyGUI not giving you such functionality - you only can use some widget. For example StaticImage with texture containing line or curve. You can generate such texture using http://www.ogre3d.org/phpBB2/viewtopic.php?t=26987 or something else.

I need to draw curve line don‘t on one texture。I assume created manulobject draw on screen. but i can't draw。 :cry:

DenisKoronchik

21-11-2008 11:09:58

in some days, i'll start to add some features to draw on widgets with cairo or agg. I hope it will be like plugin widget, it will be generate texture (we will draw on texture), so you will be able to use this widget like draw view or don't show, just draw textures in memory.

Steph

10-08-2011 17:09:25

if you can add some functionnalities in Itexture in order to draw some basic geometries, It ll be so great. let us know if you start to implements it. :=)

DanielSefton

11-08-2011 02:24:58

if you can add some functionnalities in Itexture in order to draw some basic geometries, It ll be so great. let us know if you start to implements it. :=)
Check the changelog, this was implemented in 3.2: viewtopic.php?f=17&t=13936

- Implemented PolygonalSkin sub widget for lines and splines drawing.