Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenOrienteering/mapper
/ pixelToLength
Method
pixelToLength
src/core/map_view.cpp:238–241 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
236
}
237
238
qreal MapView::pixelToLength(qreal pixel) const
239
{
240
return Util::pixelToMMPhysical(pixel / zoom) * 1000.0;
241
}
242
243
QRectF MapView::calculateViewedRect(QRectF rect) const
244
{
Callers
15
clickRelease
Method · 0.80
snapToObject
Method · 0.80
finishCuttingArea
Method · 0.80
findEditPoint
Method · 0.80
finishDrawing
Method · 0.80
clickRelease
Method · 0.80
updateDirtyRectImpl
Method · 0.80
updateHoverState
Method · 0.80
clickPress
Method · 0.80
clickRelease
Method · 0.80
updateDirtyRectImpl
Method · 0.80
updateHoverState
Method · 0.80
Calls
1
pixelToMMPhysical
Function · 0.85
Tested by
no test coverage detected