| 552 | } |
| 553 | |
| 554 | double DrawView::getScale() const |
| 555 | { |
| 556 | auto result = Scale.getValue(); |
| 557 | if (ScaleType.isValue("Page")) { |
| 558 | auto page = findParentPage(); |
| 559 | if (page) { |
| 560 | result = page->Scale.getValue(); |
| 561 | } |
| 562 | } |
| 563 | if (!(result > 0.0)) { |
| 564 | result = 1.0; |
| 565 | } |
| 566 | return result; |
| 567 | } |
| 568 | |
| 569 | //return list of Leaders which reference this DV |
| 570 | std::vector<TechDraw::DrawLeaderLine*> DrawView::getLeaders() const |
no test coverage detected