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

Method image

YACReader/continuous_page_provider.cpp:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192const QImage *ContinuousPageProvider::image(int pageIndex) const
193{
194 auto it = cache.constFind(pageIndex);
195 if (it == cache.constEnd() || it.value().isNull()) {
196 return nullptr;
197 }
198 return &it.value();
199}
200
201void ContinuousPageProvider::onRawDataReady(int page)
202{

Callers 5

grabMagnifiedRegionMethod · 0.80
onPageAvailableMethod · 0.80
paintEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected