optimize stroke drawing
This commit is contained in:
@@ -464,7 +464,7 @@ int main(int argc, char** argv)
|
||||
auto x = unsigned{};
|
||||
auto y = unsigned{};
|
||||
GetDpiForMonitor(monitor, MDT_EFFECTIVE_DPI, &x, &y);
|
||||
App::I.zoom = (float)x / 96.f;
|
||||
App::I.zoom *= (float)x / 96.f;
|
||||
|
||||
AdjustWindowRect(&clientRect, WS_OVERLAPPEDWINDOW, false);
|
||||
hWnd = CreateWindow(wc.lpszClassName, L"PanoPainter", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user