Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2D zoom
Draw2D zoom [message #135055] Sun, 30 May 2004 22:28 Go to next message
Allen C Wong is currently offline Allen C WongFriend
Messages: 9
Registered: July 2009
Junior Member
I am trying out the ZoomExample.java in org.eclipse.draw2d.examples.zoom.
I made some modifications to it by add a PageNode object (from
org.eclipse.draw2d.examples.tree).
I add:
PageNode allen=new PageNode("i am in ibm");
layout.setConstraint(carmen, new Rectangle(0,200 , -1, -1));
contents.add(carmen);

When i try different zoom rate I noticed sometimes the last letter "m"
will get truncated.

Just wonderting whether anyone has some insight on this, and should I open
a bug?
Re: Draw2D zoom [message #135976 is a reply to message #135055] Thu, 03 June 2004 14:14 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Hmm, this might have something to do with the changes that were made in
TextFlow (or maybe just a rounding error). Yes, please open a bug report
and attach your code (and possibly, a screenshot).

"Allen Wong" <ac4wong@uwaterloo.ca> wrote in message
news:c9dn6v$999$1@eclipse.org...
> I am trying out the ZoomExample.java in org.eclipse.draw2d.examples.zoom.
> I made some modifications to it by add a PageNode object (from
> org.eclipse.draw2d.examples.tree).
> I add:
> PageNode allen=new PageNode("i am in ibm");
> layout.setConstraint(carmen, new Rectangle(0,200 , -1, -1));
> contents.add(carmen);
>
> When i try different zoom rate I noticed sometimes the last letter "m"
> will get truncated.
>
> Just wonderting whether anyone has some insight on this, and should I open
> a bug?
>
Re: Draw2D zoom [message #136534 is a reply to message #135976] Sun, 06 June 2004 17:39 Go to previous message
Allen C Wong is currently offline Allen C WongFriend
Messages: 9
Registered: July 2009
Junior Member
I have a bug opened and closed [65185], which Randy explained it is
something they cannot control.
But if you can actually do something and fix this I will very much
appreciate. :)



Pratik Shah wrote:

> Hmm, this might have something to do with the changes that were made in
> TextFlow (or maybe just a rounding error). Yes, please open a bug report
> and attach your code (and possibly, a screenshot).

> "Allen Wong" <ac4wong@uwaterloo.ca> wrote in message
> news:c9dn6v$999$1@eclipse.org...
> > I am trying out the ZoomExample.java in org.eclipse.draw2d.examples.zoom.
> > I made some modifications to it by add a PageNode object (from
> > org.eclipse.draw2d.examples.tree).
> > I add:
> > PageNode allen=new PageNode("i am in ibm");
> > layout.setConstraint(carmen, new Rectangle(0,200 , -1, -1));
> > contents.add(carmen);
> >
> > When i try different zoom rate I noticed sometimes the last letter "m"
> > will get truncated.
> >
> > Just wonderting whether anyone has some insight on this, and should I open
> > a bug?
> >
Previous Topic:ANN: article "Java 2D imaging for the Standard Widget Toolkit"
Next Topic:compatibility with eclipse 3.0
Goto Forum:
  


Current Time: Sat Dec 21 16:34:26 GMT 2024

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

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

Back to the top