internal/uidriver/glfw/ui.go
func (u *UserInterface) glfwSize() (int, int) {
	w := int(float64(u.windowWidth) * u.getScale() * u.glfwScale())
	h := int(float64(u.height) * u.getScale() * u.glfwScale())
	return w, h
}
func (u *UserInterface) glfwSize() (int, int) {
	w := int(float64(u.windowWidth) * u.getScale() * u.glfwScale())
	h := int(float64(u.height) * u.getScale() * u.glfwScale())
	return w, h
}
func ( u * UserInterface ) glfwSize ( ) ( int , int ) { w := int ( float64 ( u . windowWidth ) * u . getScale ( ) * u . glfwScale ( ) ) h := int ( float64 ( u . height ) * u . getScale ( ) * u . glfwScale ( ) ) return w , h }
// getSize must be called from the main thread.
getSize must be called from the main thread .