Home » Eclipse Projects » GEF » Start the ruler at a particular x, y coordinates.
Start the ruler at a particular x, y coordinates. [message #181969] |
Fri, 20 May 2005 19:40 |
Eclipse User |
|
|
|
Originally posted by: kevinlouisnospam.hotmail.com
Hi,
Is it possible to show the horizontal and vertical rulers starting from the
(x, 0) position? Will the ruler shows the correct value? I mean the
horizontal rule shows 0 at that (x, 0) position. In other words, is it
possible to shift the origin?
I am currently using 3.1 M4. Does it have any big changes for the ruler
between M4 and M7?
Thanks,
Kev.
|
|
| |
Re: Start the ruler at a particular x, y coordinates. [message #182381 is a reply to message #182018] |
Tue, 24 May 2005 17:43 |
Eclipse User |
|
|
|
Originally posted by: kevinlouisnospam.hotmail.com
Hi Pratik,
I am newbie to this. Could you tell me which classes or functions I should
look at?
Thanks,
Kev.
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d6o8ik$ric$1@news.eclipse.org...
> "Kevin" <kevinlouisnospam@hotmail.com> wrote in message
> news:d6leip$hov$1@news.eclipse.org...
> > Hi,
> >
> > Is it possible to show the horizontal and vertical rulers starting from
> the
> > (x, 0) position? Will the ruler shows the correct value? I mean the
> > horizontal rule shows 0 at that (x, 0) position. In other words, is
it
> > possible to shift the origin?
>
> There is no API for this. You could possibly achieve this, however, if
you
> put your content figure in a figure that has its own coordinate system:
one
> that is translated horizontally by x.
>
> >
> > I am currently using 3.1 M4. Does it have any big changes for the ruler
> > between M4 and M7?
>
> No.
>
> >
> > Thanks,
> >
> > Kev.
> >
> >
>
>
|
|
|
Re: Start the ruler at a particular x, y coordinates. [message #182388 is a reply to message #182018] |
Tue, 24 May 2005 17:56 |
Eclipse User |
|
|
|
Originally posted by: kevinlouisnospam.hotmail.com
Actually, my problem is my figure have two parts. The left part does not
have rulers while the right part does.
If I use my own coordinate system, it may affect the left part too. Can I
override the Ruler to make it shiftable?
Thanks,
Kev
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d6o8ik$ric$1@news.eclipse.org...
> "Kevin" <kevinlouisnospam@hotmail.com> wrote in message
> news:d6leip$hov$1@news.eclipse.org...
> > Hi,
> >
> > Is it possible to show the horizontal and vertical rulers starting from
> the
> > (x, 0) position? Will the ruler shows the correct value? I mean the
> > horizontal rule shows 0 at that (x, 0) position. In other words, is
it
> > possible to shift the origin?
>
> There is no API for this. You could possibly achieve this, however, if
you
> put your content figure in a figure that has its own coordinate system:
one
> that is translated horizontally by x.
>
> >
> > I am currently using 3.1 M4. Does it have any big changes for the ruler
> > between M4 and M7?
>
> No.
>
> >
> > Thanks,
> >
> > Kev.
> >
> >
>
>
|
|
|
Goto Forum:
Current Time: Thu Apr 18 23:52:30 GMT 2024
Powered by FUDForum. Page generated in 0.01710 seconds
|