Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBoardView/OpenBoardView
/ IDPIF
Function
IDPIF
src/openboardview/GUI/DPI.cpp:19–21 ·
view source on GitHub ↗
Inverse DPIF
Source
from the content-addressed store, hash-verified
17
18
// Inverse DPIF
19
float IDPIF(float x) {
20
return (x * 100.0f) / (dpi * display_scale);
21
}
22
23
void setDPI(int new_dpi) {
24
static float defaultScrollbarSize = ImGui::GetStyle().ScrollbarSize;
Callers
1
ShowInfoPane
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected