MCPcopy Create free account
hub / github.com/YACReader/yacreader / scaledPageSize

Method scaledPageSize

YACReader/continuous_view_model.cpp:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161QSize 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
170void ContinuousViewModel::recompute(RecomputePolicy policy, int targetPage)
171{

Callers 3

grabMagnifiedRegionMethod · 0.80
paintEventMethod · 0.80
pageRectForMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected