目次 - API(機能別) - ディスプレイとウィンドウ - SDL_GetWindowPosition

SDL_GetWindowPosition

ウィンドウを位置を得る

構文

void SDL_GetWindowPosition(SDL_Window* window, int* x, int* y)

引数

window調査するウィンドウ
xウィンドウのX座標を代入するポインタ
yウィンドウのY座標を代入するポインタ

関連項目(関数)

SDL_SetWindowPosition

SDL Wikiへのリンク

SDL_GetWindowPosition - SDL Wiki