Hi Peter C, and B,

when zoomed way in I have some drawing artefacts in the net mode.

The net mode uses the variables second_x, last_x, start_x to spezify the 
invalidate rectangle:

---------
  o_invalidate_rect(w_current, w_current->last_x, w_current->last_y,
                           w_current->second_x, w_current->second_y);
---------

This function call does not take care of the width of the net line.

Possible fixes for the problem:

* the caller calculates the correct rectangle
  This has to be done many times and requires sorted coordinates
  of the rectangle.

* add an extra function parameter to o_invalidate_rect for extra margin

* add some extra margin depending on the current line-width of the 
current graphic contexts inside o_invalidate_rectangle. (w_current->gc 
and w_current->xor_gc)

What are your opinions?

Regards
Werner


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to