| 328 | } |
| 329 | |
| 330 | double LayoutAnnotationRenderer::GetHeight(AnnotationRankedMap &annotations, BaseRenderer *renderer) |
| 331 | { |
| 332 | double height = 0; |
| 333 | for (auto it = annotations.cbegin(); it != annotations.cend(); ++it) |
| 334 | { |
| 335 | Annotation *annotation = it->second; |
| 336 | Annotation::Bounds bounds = annotation->GetBoundsOnDisplay(renderer); |
| 337 | height += bounds.Size[0]; |
| 338 | height += GetMargin2D(annotation)[0]; |
| 339 | } |
| 340 | return height; |
| 341 | } |
| 342 | } |
nothing calls this directly
no test coverage detected