Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Flexible Figure For Nodes
Flexible Figure For Nodes [message #229944] Mon, 29 January 2007 06: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 13:07 Go to previous message
Nhu Le is currently offline Nhu LeFriend
Messages: 47
Registered: July 2009
Member
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:How to place property set operations in commands?
Next Topic:Draw2D: Move connections behind figures
Goto Forum:
  


Current Time: Mon Nov 29 14:45:41 GMT 2021

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

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

Back to the top