MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / pixelToMMLogical

Function pixelToMMLogical

src/settings.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 qreal pixelToMMLogical(qreal pixels)
71 {
72 auto ppi = QGuiApplication::primaryScreen()->logicalDotsPerInch();
73 return pixels * qreal(25.4) / ppi;
74 }
75
76
77 bool isAntialiasingRequired(qreal ppi)

Callers 1

migrateSettingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected