MCPcopy Create free account
hub / github.com/cogentcore/core / RenderGeom

Method RenderGeom

system/window.go:73–73  ·  view source on GitHub ↗

RenderGeom returns the actual effective geometry of the window used for rendering content, which may be different from {0, [Window.Size]} due to insets caused by things like status bars and button overlays.

()

Source from the content-addressed store, hash-verified

71 // for rendering content, which may be different from {0, [Window.Size]}
72 // due to insets caused by things like status bars and button overlays.
73 RenderGeom() math32.Geom2DInt
74
75 // SetWinSize sets the size of the window, in OS-specific window manager
76 // units that may not include any high DPI factors (DevPixRatio)

Callers 3

resizedMethod · 0.65
fillInsetsMethod · 0.65
SizeClassMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected