Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ Width2D
Method
Width2D
engine/Poseidon/Graphics/Core/Engine.cpp:113–116 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
}
112
113
int Engine::Width2D() const
114
{
115
return toInt((_aspectSettings.uiBottomRightX - _aspectSettings.uiTopLeftX) * Width());
116
}
117
118
int Engine::Height2D() const
119
{
Callers
15
DrawConnectionQuality
Function · 0.45
DrawMPTable
Method · 0.45
Draw
Method · 0.45
DrawNetworkStatistics
Function · 0.45
OnDraw
Method · 0.45
OnDraw
Method · 0.45
DrawCursor
Method · 0.45
OnDraw
Method · 0.45
Precalculate
Method · 0.45
DrawTargetInfo
Method · 0.45
DrawCursor
Method · 0.45
DrawFrame
Function · 0.45
Calls
2
Width
Function · 0.85
toInt
Function · 0.50
Tested by
no test coverage detected