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

Method resetScaledCache

YACReader/continuous_page_widget.cpp:385–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385void ContinuousPageWidget::resetScaledCache()
386{
387 scaledPageCache.invalidateAll();
388 ++cacheGeneration;
389 pendingScaleRequests.clear();
390 scalePool.clear();
391}
392
393QRect ContinuousPageWidget::pageRectFor(int pageIndex) const
394{

Callers

nothing calls this directly

Calls 2

invalidateAllMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected