Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ PixelSize
Method
PixelSize
src/game/client/ui.cpp:458–461 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
456
}
457
458
float CUi::PixelSize()
459
{
460
return Screen()->w / Graphics()->ScreenWidth();
461
}
462
463
void CUi::ClipEnable(const CUIRect *pRect)
464
{
Callers
3
LoadSkinData
Method · 0.45
DetermineBloodColor
Function · 0.45
RenderDemoPlayer
Method · 0.45
Calls
2
Graphics
Function · 0.85
ScreenWidth
Method · 0.80
Tested by
no test coverage detected