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