Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zoom & different Models size
Zoom & different Models size [message #212804] Wed, 29 March 2006 13:10 Go to next message
Martin Rosenthal is currently offline Martin RosenthalFriend
Messages: 18
Registered: July 2009
Junior Member
Hello,

i am developing a GEF Editor, which shows some rectangles (like the shapes
example). I added the zoom-function from logic-example to my editor.

Drawing a rectangle without zoom (100%), the rect has the size, i drew
with the palettetool. But when i zoom out (e.g. 50%), the rect has half of
the size and half of the position, i drew with the tool...

Perhaps someone can help me...

Regards Martin
Re: Zoom & different Models size [message #212853 is a reply to message #212804] Thu, 30 March 2006 05:23 Go to previous messageGo to next message
Andreas Schosser is currently offline Andreas SchosserFriend
Messages: 30
Registered: July 2009
Member
I absolutely agree. There's no reason why the visible coordinates are used
instead of the relative (zoomed). Seems like a bug to me.

--
A. Schosser
Mind8 GmbH

Martin wrote:

> Drawing a rectangle without zoom (100%), the rect has the size, i drew
> with the palettetool. But when i zoom out (e.g. 50%), the rect has half
> of the size and half of the position, i drew with the tool...
Re: Zoom & different Models size [message #212912 is a reply to message #212853] Thu, 30 March 2006 19:52 Go to previous messageGo to next message
Martin Rosenthal is currently offline Martin RosenthalFriend
Messages: 18
Registered: July 2009
Junior Member
I dont think so, in the logic-example, the zoom feature works fine...

and its not a hazard, that the shapes size is half as large as i draw it,
when the zoom is on 50%...
Re: Zoom & different Models size [message #212919 is a reply to message #212912] Fri, 31 March 2006 05:22 Go to previous message
Andreas Schosser is currently offline Andreas SchosserFriend
Messages: 30
Registered: July 2009
Member
Thanks for the hint. I had just recognized the same problems in my
project. Maybe I should be a bit more patient getting familiar with GEF.
I'm sorry for my stupid contributions. I still feel a bit overwhelmed by
the opportunities given by the framework. ;-)

Andreas

--
A. Schosser
Mind8 GmbH

Martin wrote:

> I dont think so, in the logic-example, the zoom feature works fine...
>
> and its not a hazard, that the shapes size is half as large as i draw
> it, when the zoom is on 50%...
Previous Topic:Scaling the Models
Next Topic:How to handle menus on IEditorPart
Goto Forum:
  


Current Time: Sun Dec 04 09:54:12 GMT 2022

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

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

Back to the top