Comment 6 for bug 708388

Revision history for this message
Peter Clifton (pcjc2) wrote :

See o_basic.c:

void o_redraw_rects (GSCHEM_TOPLEVEL *w_current,
                     GdkRectangle *rectangles, int n_rectangles)

  obj_list = s_page_objects_in_regions (toplevel, toplevel->page_current,
                                        world_rects, n_rectangles);

The implementation of that could be a spatial lookup if we needed in the future. I have a branch which uses r_tree code from PCB to achieve that, but it is not 100% tested.