MCPcopy Create free account
hub / github.com/KDE/okular / setBoundingRectangle

Method setBoundingRectangle

core/annotations.cpp:680–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680void Annotation::setBoundingRectangle(const NormalizedRect &rectangle)
681{
682 Q_D(Annotation);
683 d->m_boundary = rectangle;
684 d->resetTransformation();
685 if (d->m_page) {
686 d->transform(d->m_page->rotationMatrix());
687 }
688}
689
690NormalizedRect Annotation::boundingRectangle() const
691{

Callers

nothing calls this directly

Calls 3

resetTransformationMethod · 0.80
transformMethod · 0.45
rotationMatrixMethod · 0.45

Tested by

no test coverage detected