目次
-
SDL 3.0 API(機能別)
-
領域
- SDL_Rect
SDL_Rect
整数で表した左上を基点とした長方形を定義する構造体
ヘッダ
SDL3/SDL_rect.h
フィールド
int
x
長方形の左上のX座標
int
y
長方形の左上のY座標
int
w
長方形の幅
int
h
長方形の高さ
バージョン
SDL 3.2.0以降
関連項目
SDL_RectEmpty
SDL_RectsEqual
SDL_HasRectIntersection
SDL_GetRectIntersection
SDL_GetRectAndLineIntersection
SDL_GetRectUnion
SDL_GetRectEnclosingPoints
SDL Wikiへのリンク
SDL_Rect - SDL Wiki