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