DPI returns the current DPI value of the WindowBase.
()
| 1019 | |
| 1020 | // DPI returns the current DPI value of the WindowBase. |
| 1021 | func (wb *WindowBase) DPI() int { |
| 1022 | return int(win.GetDpiForWindow(wb.hWnd)) |
| 1023 | } |
| 1024 | |
| 1025 | type ApplyDPIer interface { |
| 1026 | ApplyDPI(dpi int) |
no outgoing calls
no test coverage detected