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

Method onContinuousPageRendered

YACReader/viewer.cpp:1357–1369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1355}
1356
1357void Viewer::onContinuousPageRendered(int absolutePageIndex)
1358{
1359 if (!continuousScroll || !render->hasLoadedComic()) {
1360 return;
1361 }
1362
1363 const QImage *img = continuousPageProvider->image(absolutePageIndex);
1364 if (!img || img->isNull()) {
1365 return;
1366 }
1367
1368 continuousViewModel->setPageNaturalSize(absolutePageIndex, img->size());
1369}
1370
1371void Viewer::probeContinuousBufferedPages()
1372{

Callers

nothing calls this directly

Calls 3

hasLoadedComicMethod · 0.80
imageMethod · 0.80
setPageNaturalSizeMethod · 0.80

Tested by

no test coverage detected