Where the window's drawing area is on the screen and how big it is: x, y, width, height, success.
- right_handed: counts
yup from the bottom of the screen instead of down from the top.
get_dimensions :: (
win: Window,
right_handed: bool
) -> (x: s32, y: s32, width: s32, height: s32, success := true)
Where the window's drawing area is on the screen and how big it is: x, y, width, height, success.
Parameters
- win: Window
- right_handed: bool
- counts
yup from the bottom of the screen instead of down from the top.
Returns
- x: s32
- y: s32
- width: s32
- height: s32
- success
get_dimensions :: (
hwnd: Windows.HWND,
right_handed: bool
) -> (x: s32, y: s32, width: s32, height: s32, success := true)
Where the window's drawing area is on the screen and how big it is: x, y, width, height, success.
Parameters
- hwnd: Windows.HWND
- right_handed: bool
- counts
yup from the bottom of the screen instead of down from the top.
Returns
- x: s32
- y: s32
- width: s32
- height: s32
- success
get_dimensions :: (
window: *ObjC.NSWindow,
right_handed: bool
) -> (x: s32, y: s32, width: s32, height: s32, success := true)
Where the window's drawing area is on the screen and how big it is: x, y, width, height, success.
Parameters
- window: *ObjC.NSWindow
- right_handed: bool
- counts
yup from the bottom of the screen instead of down from the top.
Returns
- x: s32
- y: s32
- width: s32
- height: s32
- success