Changeset 1883:05b0e8d057a6 in lemon-0.x for gui/graph_displayer_canvas-event.cc
- Timestamp:
- 01/06/06 15:44:04 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2458
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas-event.cc
r1879 r1883 453 453 target_item->get_bounds(x1, y1, x2, y2); 454 454 coos.push_back(Gnome::Art::Point((x1+x2)/2,(y1+y2)/2)); 455 456 // set the coordinates of the arrow on the new edge 457 MapStorage& ms = mytab.mapstorage; 458 ms.arrow_pos.set(active_edge, 459 (ms.coords[ms.graph.source(active_edge)] + 460 ms.coords[ms.graph.target(active_edge)])/ 2.0); 455 461 456 462 //drawing new edge
Note: See TracChangeset
for help on using the changeset viewer.