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 265 of file nr-rect.cpp.

Referenced by Inkscape::ZoomVerb::perform(), sp_desktop_widget_size_allocate(), sp_node_selected_common_coord(), sp_nodepath_flip(), and SPDesktop::zoom_page_width().

                           {
      return ( _min + _max ) / 2;
}


Generated by  Doxygen 1.6.0   Back to index