[−][src]Function sdl2_sys::SDL_GetWindowBordersSize
pub unsafe extern "C" fn SDL_GetWindowBordersSize(
window: *mut SDL_Window,
top: *mut c_int,
left: *mut c_int,
bottom: *mut c_int,
right: *mut c_int
) -> c_int
\brief Get the size of a window's borders (decorations) around the client area.
\param window The window to query. \param top Pointer to variable for storing the size of the top border. NULL is permitted. \param left Pointer to variable for storing the size of the left border. NULL is permitted. \param bottom Pointer to variable for storing the size of the bottom border. NULL is permitted. \param right Pointer to variable for storing the size of the right border. NULL is permitted.
\return 0 on success, or -1 if getting this information is not supported.
\note if this function fails (returns -1), the size values will be initialized to 0, 0, 0, 0 (if a non-NULL pointer is provided), as if the window in question was borderless.