| 53 | } |
| 54 | |
| 55 | QPointF DatastoreCurveAdapter::sample(std::size_t index) const { |
| 56 | ensureChunkIndex(); |
| 57 | if (index >= sample_index_.size()) { |
| 58 | return invalidPoint(); |
| 59 | } |
| 60 | |
| 61 | return readPoint(sample_index_[index]); |
| 62 | } |
| 63 | |
| 64 | QRectF DatastoreCurveAdapter::boundingRect() const { |
| 65 | if (full_bounding_rect_valid_) { |
nothing calls this directly
no test coverage detected