Returns the width in pixels of the current device's screen. For most platforms this value is usually the size of the screen in portrait mode, but this is not guaranteed. This value will not change if the screen is rotated.
integer GetDeviceWidth()
int agk::GetDeviceWidth()