MCPcopy Create free account
hub / github.com/TeXworks/texworks / asyncRenderToImage

Method asyncRenderToImage

modules/QtPDF/src/PDFBackend.cpp:406–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406void Page::asyncRenderToImage(QObject *listener, double xres, double yres, QRect render_box, bool cache)
407{
408 QReadLocker docLocker(_docLock.data());
409 QReadLocker pageLocker(&_pageLock);
410 if (!_parent)
411 return;
412 _parent->processingThread().addPageProcessingRequest(new PageProcessingRenderPageRequest(this, listener, xres, yres, render_box, cache));
413}
414
415bool higherResolutionThan(const PDFPageTile & t1, const PDFPageTile & t2)
416{

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45

Tested by

no test coverage detected