Skip to main content



      Home
Home » Eclipse Projects » GEF » Flexible Figure For Nodes
Flexible Figure For Nodes [message #229944] Mon, 29 January 2007 01:02 Go to next message
Eclipse UserFriend
Originally posted by: biju_gopinathan.rediffmail.com

Hi friends,

I need to create a custom figure for my node, which would be
flexible enough like a worm, so that I can bend it to any direction
using mouse pointer.

Can anyone please help me to do this, or to find any topics or
links which will guide me to do this.

Thanks in advance regards biju
Re: Flexible Figure For Nodes [message #230021 is a reply to message #229944] Tue, 30 January 2007 08:07 Go to previous message
Eclipse UserFriend
You mean like a bezier curve?. I haven't seen anything available like
that ready for use. I think you still have to have a rectangle bounding
box (just like any polygon object) and manipulate your figure when you
detect a move request. So instead of moving the whole figure (bounds),
you just adjust your curve according to the mouse input (of course the
rectangle bounds will be adjusted but it's a result from adjusting the
curve).

Nhu

biju wrote:
> Hi friends,
>
> I need to create a custom figure for my node, which would be
> flexible enough like a worm, so that I can bend it to any direction
> using mouse pointer.
>
> Can anyone please help me to do this, or to find any topics or links
> which will guide me to do this.
>
> Thanks in advance regards biju
Previous Topic:Automatic resizing of parent figures
Next Topic:How to set selection privider for different graphical viewer?
Goto Forum:
  


Current Time: Tue Jul 08 13:35:16 EDT 2025

Powered by FUDForum. Page generated in 0.04787 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top