(lineObj)
| 2643 | } |
| 2644 | |
| 2645 | function widgetTopHeight(lineObj) { |
| 2646 | var height = 0; |
| 2647 | if (lineObj.widgets) { for (var i = 0; i < lineObj.widgets.length; ++i) { if (lineObj.widgets[i].above) |
| 2648 | { height += widgetHeight(lineObj.widgets[i]); } } } |
| 2649 | return height |
| 2650 | } |
| 2651 | |
| 2652 | // Converts a {top, bottom, left, right} box from line-local |
| 2653 | // coordinates into another coordinate system. Context may be one of |
no test coverage detected