| 159 | } |
| 160 | |
| 161 | QSize ContinuousViewModel::scaledPageSize(int pageIndex) const |
| 162 | { |
| 163 | if (pageIndex < 0 || pageIndex >= layoutSnapshot.scaledSizes.size()) { |
| 164 | return QSize(); |
| 165 | } |
| 166 | |
| 167 | return layoutSnapshot.scaledSizes[pageIndex]; |
| 168 | } |
| 169 | |
| 170 | void ContinuousViewModel::recompute(RecomputePolicy policy, int targetPage) |
| 171 | { |
no outgoing calls
no test coverage detected