目次 - API(機能別) - 領域 - SDL_Rect
SDL_Rect
左上を基点とした長方形を定義する構造体
フィールド
| int | x | 長方形の左上のX座標 |
| int | y | 長方形の左上のY座標 |
| int | w | 長方形の幅 |
| int | h | 長方形の高さ |
詳細
SDL_Rectはスクリーン上の長方形の領域を定義する.
SDL_BlitSurface()では転送の領域を定義し, 他のビデオ関数でも使われる.
関連項目(関数)
SDL_BlitSurface
SDL_EnclosePoints
SDL_GetDisplayBounds
SDL_HasIntersection
SDL_IntersectRect
SDL_LockTexture
SDL_RenderCopy
SDL_RenderReadPixels
SDL_RenderDrawRect
SDL_RenderDrawRects
SDL_UnionRect
SDL_UpdateTexture
SDL Wikiへのリンク
SDL_Rect - SDL Wiki