(lineObj)
| 2575 | } |
| 2576 | |
| 2577 | function widgetTopHeight(lineObj) { |
| 2578 | var height = 0; |
| 2579 | if (lineObj.widgets) { for (var i = 0; i < lineObj.widgets.length; ++i) { if (lineObj.widgets[i].above) |
| 2580 | { height += widgetHeight(lineObj.widgets[i]); } } } |
| 2581 | return height |
| 2582 | } |
| 2583 | |
| 2584 | // Converts a {top, bottom, left, right} box from line-local |
| 2585 | // coordinates into another coordinate system. Context may be one of |
no test coverage detected