| 106 | } |
| 107 | |
| 108 | int Plot::getY(double value) const |
| 109 | { |
| 110 | return static_cast<int>((1.0 - value) * (height_-2*kMarginY_) + 0.5) + kMarginY_; |
| 111 | } |
| 112 | |
| 113 | muduo::string Plot::toPng() |
| 114 | { |
nothing calls this directly
no outgoing calls
no test coverage detected