Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GameTechDev/PresentMon
/ RectToDims
Function
RectToDims
IntelPresentMon/Core/source/win/Window.cpp:200–203 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
198
}
199
200
gfx::DimensionsI RectToDims(const RECT& r)
201
{
202
return { r.right - r.left, r.bottom - r.top };
203
}
204
205
gfx::RectI RectToRectI(const RECT& r)
206
{
Callers
4
ComputeWindowDimensions
Method · 0.85
RegisterWindowSpawn
Method · 0.85
Callback
Method · 0.85
Handle
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected