Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ setSize
Method
setSize
core/windowgeometry.go:397–400 ·
view source on GitHub ↗
(sz image.Point)
Source
from the content-addressed store, hash-verified
395
}
396
397
func
(wg *windowGeometry) setSize(sz image.Point) {
398
wg.SX = sz.X
399
wg.SY = sz.Y
400
}
401
402
func
(wg *windowGeometry) pos() image.Point {
403
return
image.Point{wg.PX, wg.PY}
Callers
1
recordPref
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected