size property
WindowSize
size
Get the size of this window.
Implementation
WindowSize get size {
sdl.sdl.SDL_GetWindowSize(handle, sdl.xPointer, sdl.yPointer);
return WindowSize(sdl.xPointer.value, sdl.yPointer.value);
}
Set the size of this window.
Implementation
set size(final WindowSize value) =>
sdl.sdl.SDL_SetWindowSize(handle, value.width, value.height);