MCPcopy Create free account
hub / github.com/lxn/walk / DPI

Method DPI

window.go:1021–1023  ·  view source on GitHub ↗

DPI returns the current DPI value of the WindowBase.

()

Source from the content-addressed store, hash-verified

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

Callers 15

IntFrom96DPIMethod · 0.95
IntTo96DPIMethod · 0.95
MarginsFrom96DPIMethod · 0.95
MarginsTo96DPIMethod · 0.95
PointFrom96DPIMethod · 0.95
PointTo96DPIMethod · 0.95
RectangleFrom96DPIMethod · 0.95
RectangleTo96DPIMethod · 0.95
SizeFrom96DPIMethod · 0.95
SizeTo96DPIMethod · 0.95
applyFontMethod · 0.95
SetMinMaxSizePixelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected