我們可以使用SDL_RenderDrawRect函數繪制矩形,下面是函數的原型:. int SDL_RenderDrawRect(SDL_Renderer* renderer, const SDL_Rect* rect).
確定! 回上一頁