MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / LogFontSizeFromPointSize

Method LogFontSizeFromPointSize

DebugView++/MainFrame.cpp:580–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578const wchar_t* RegistryPath = L"Software\\Cobalt Fusion\\DebugView++";
579
580int CMainFrame::LogFontSizeFromPointSize(int fontSize)
581{
582 return -MulDiv(fontSize, GetDeviceCaps(GetDC(), LOGPIXELSY), 72);
583}
584
585int CMainFrame::LogFontSizeToPointSize(int logFontSize)
586{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected