| 892 | } |
| 893 | |
| 894 | db::Box |
| 895 | ShapeIterator::array_quad_box () const |
| 896 | { |
| 897 | if (m_array_iterator_valid) { |
| 898 | if (m_type == PolygonPtrArray) { |
| 899 | return get_array_quad_box<polygon_ptr_array_iterator_type, polygon_ptr_array_type> (); |
| 900 | } else if (m_type == SimplePolygonPtrArray) { |
| 901 | return get_array_quad_box<simple_polygon_ptr_array_iterator_type, simple_polygon_ptr_array_type> (); |
| 902 | } else if (m_type == PathPtrArray) { |
| 903 | return get_array_quad_box<path_ptr_array_iterator_type, path_ptr_array_type> (); |
| 904 | } else if (m_type == TextPtrArray) { |
| 905 | return get_array_quad_box<text_ptr_array_iterator_type, text_ptr_array_type> (); |
| 906 | } else if (m_type == BoxArray) { |
| 907 | return get_array_quad_box<box_array_iterator_type, box_array_type> (); |
| 908 | } else if (m_type == ShortBoxArray) { |
| 909 | return get_array_quad_box<short_box_array_iterator_type, short_box_array_type> (); |
| 910 | } |
| 911 | } |
| 912 | |
| 913 | return db::Box::world (); |
| 914 | } |
| 915 | |
| 916 | void |
| 917 | ShapeIterator::cleanup () |
no test coverage detected