* Draw the linkgraph overlay or some part of it, in the area given. * @param dpi Area to be drawn to. */
| 260 | * @param dpi Area to be drawn to. |
| 261 | */ |
| 262 | void LinkGraphOverlay::Draw(const DrawPixelInfo *dpi) |
| 263 | { |
| 264 | if (this->dirty) { |
| 265 | this->RebuildCache(); |
| 266 | this->dirty = false; |
| 267 | } |
| 268 | this->DrawLinks(dpi); |
| 269 | this->DrawStationDots(dpi); |
| 270 | } |
| 271 | |
| 272 | /** |
| 273 | * Draw the cached links or part of them into the given area. |
nothing calls this directly
no test coverage detected