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

Method setMagnifierShape

modules/QtPDF/src/PDFDocumentView.cpp:786–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786void PDFDocumentView::setMagnifierShape(const DocumentTool::MagnifyingGlass::MagnifierShape shape)
787{
788 DocumentTool::MagnifyingGlass * magnifier = dynamic_cast<DocumentTool::MagnifyingGlass*>(getToolByType(DocumentTool::AbstractTool::Tool_MagnifyingGlass));
789 if (magnifier)
790 magnifier->setMagnifierShape(shape);
791}
792
793void PDFDocumentView::setMagnifierSize(const int size)
794{

Callers 1

resetMagnifierMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected