163 LDBoundingBox(); |
163 LDBoundingBox(); |
164 |
164 |
165 // Clears the bounding box |
165 // Clears the bounding box |
166 void reset(); |
166 void reset(); |
167 |
167 |
168 // Calculates the bounding box's values from the objects in the current |
|
169 // document. |
|
170 void calculateFromCurrentDocument(); |
|
171 |
|
172 // Returns the length of the bounding box on the longest measure. |
168 // Returns the length of the bounding box on the longest measure. |
173 double longestMeasurement() const; |
169 double longestMeasurement() const; |
174 |
170 |
175 // Calculates the given \c obj to the bounding box, adjusting |
171 // Calculates the given \c obj to the bounding box, adjusting |
176 // extremas if necessary. |
172 // extremas if necessary. |