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

Method DocumentViewport

core/document.cpp:5724–5735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5722/** DocumentViewport **/
5723
5724DocumentViewport::DocumentViewport(int n)
5725 : pageNumber(n)
5726{
5727 // default settings
5728 rePos.enabled = false;
5729 rePos.normalizedX = 0.5;
5730 rePos.normalizedY = 0.0;
5731 rePos.pos = Center;
5732 autoFit.enabled = false;
5733 autoFit.width = false;
5734 autoFit.height = false;
5735}
5736
5737DocumentViewport::DocumentViewport(const QString &xmlDesc)
5738 : pageNumber(-1)

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
toDoubleMethod · 0.80

Tested by

no test coverage detected