Logo Search packages:      
Sourcecode: inkscape version File versions

Point NR::Rect::midpoint (  )  const

returns the midpoint of this rect.

returns the midpoint of this rectangle

Definition at line 239 of file nr-rect.cpp.

Referenced by Inkscape::Selection::center(), graphlayout(), Inkscape::UI::Dialog::TileDialog::Grid_Arrange(), Inkscape::ZoomVerb::perform(), removeoverlap(), SPItem::setCenter(), sp_desktop_widget_size_allocate(), and SPDesktop::zoom_page_width().

                           {
      return ( _min + _max ) / 2;
}


Generated by  Doxygen 1.6.0   Back to index