[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Lines disappearing on grid

Dear Newsgroup,

I've got quite a strange problem, where I'm helpless in where to search
for the mistake.

In one of my GEF editors a user may paint symbols for an electronic
circuit editor. These symbols consist of several geometric shapes.
The editor includes a layer which paints the grid, for drawing the
shapes RectangleFigure, Ellipse and so on are used. For drawing lines
the a Polyline figure is used. Everything works fine except for lines
which are situated exactly on the grid. On a 10/10 grid a line from
(10,10) to (50,50) is visible, but a line from (10,10) to (50,10) is
not (same for a line from (10,10) to (10,50)).

It seems, that the grid layer is on top of the layer which contains the
lines and a line "on the grid" becomes invisible. The grid works with
all other figures.

As I already said - I don't know where to search for the reason of this
kind of behaviour.

Best regards,

Andreas Rummler


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Andreas Rummler + + Technical University of Ilmenau, Germany (__) + + Department Of Electronic Circuits & Systems (oo) + + \/-------\ + + MAIL: mailto:arummler@xxxxxxx || | \ + + MAIL: mailto:andreas.rummler@xxxxxxxxxxxxx ||----|| * + + WEB : http://www.inf-technik.tu-ilmenau.de/~rummler ~~ ~~ + + PGP : http://www.inf-technik.tu-ilmenau.de/~rummler/public.pgp + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

"Programming today is a race between software engineers striving to
 build bigger and better idiot-proof programs and the universe trying
 to produce bigger and better idiots. So far, the universe is winning."
 Richard Cook