Mercurial > sdl-ios-xcode
comparison include/SDL_video.h @ 4772:37e9f8154ac4
Stubbed out the new drawing, filling, and geometry functions for ellipses and polygons.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Thu, 03 Jun 2010 16:21:04 -0400 |
parents | c500594c4246 |
children | 590e680cc4e4 |
comparison
equal
deleted
inserted
replaced
4771:c500594c4246 | 4772:37e9f8154ac4 |
---|---|
1273 * \param ellipse A pointer to an array of destination ellipses. | 1273 * \param ellipse A pointer to an array of destination ellipses. |
1274 * \param count The number of ellipses. | 1274 * \param count The number of ellipses. |
1275 * | 1275 * |
1276 * \return 0 on success, or -1 if there is no rendering context current. | 1276 * \return 0 on success, or -1 if there is no rendering context current. |
1277 */ | 1277 */ |
1278 extern DECLSPEC int SDLCALL SDL_RenderFillEllipses(const SDL_Ellipse ** ellipse, int count); | 1278 extern DECLSPEC int SDLCALL SDL_RenderFillEllipses(const SDL_Ellipse *ellipse, int count); |
1279 | 1279 |
1280 /** | 1280 /** |
1281 * \brief Draw a polygon on the current rendering target with the drawing color. | 1281 * \brief Draw a polygon on the current rendering target with the drawing color. |
1282 * | 1282 * |
1283 * \param poly The destination polygon. | 1283 * \param poly The destination polygon. |
1292 * \param poly A pointer to an array of destination polygons. | 1292 * \param poly A pointer to an array of destination polygons. |
1293 * \param count The number of polygons. | 1293 * \param count The number of polygons. |
1294 * | 1294 * |
1295 * \return 0 on success, or -1 if there is no rendering context current. | 1295 * \return 0 on success, or -1 if there is no rendering context current. |
1296 */ | 1296 */ |
1297 extern DECLSPEC int SDLCALL SDL_RenderDrawPolys(const SDL_Poly ** poly, int count); | 1297 extern DECLSPEC int SDLCALL SDL_RenderDrawPolys(const SDL_Poly *poly, int count); |
1298 | 1298 |
1299 /** | 1299 /** |
1300 * \brief Fill a polygon on the current rendering target with the drawing color. | 1300 * \brief Fill a polygon on the current rendering target with the drawing color. |
1301 * | 1301 * |
1302 * \param poly The destination polygon | 1302 * \param poly The destination polygon |
1311 * \param poly A pointer to an array of destination polygons. | 1311 * \param poly A pointer to an array of destination polygons. |
1312 * \param count The number of polygons. | 1312 * \param count The number of polygons. |
1313 * | 1313 * |
1314 * \return 0 on success, or -1 if there is no rendering context current. | 1314 * \return 0 on success, or -1 if there is no rendering context current. |
1315 */ | 1315 */ |
1316 extern DECLSPEC int SDLCALL SDL_RenderFillPolys(const SDL_Poly ** poly, int count); | 1316 extern DECLSPEC int SDLCALL SDL_RenderFillPolys(const SDL_Poly *poly, int count); |
1317 | |
1318 | 1317 |
1319 /** | 1318 /** |
1320 * \brief Copy a portion of the texture to the current rendering target. | 1319 * \brief Copy a portion of the texture to the current rendering target. |
1321 * | 1320 * |
1322 * \param texture The source texture. | 1321 * \param texture The source texture. |