comparison include/SDL_video.h @ 4782:b6930aefd008

Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
author Eli Gottlieb <eligottlieb@gmail.com>
date Wed, 30 Jun 2010 16:19:44 -0400
parents 590e680cc4e4
children ef8b32ef9793
comparison
equal deleted inserted replaced
4781:fc4c775b468a 4782:b6930aefd008
1238 * \return 0 on success, or -1 if there is no rendering context current. 1238 * \return 0 on success, or -1 if there is no rendering context current.
1239 */ 1239 */
1240 extern DECLSPEC int SDLCALL SDL_RenderFillRects(const SDL_Rect ** rect, int count); 1240 extern DECLSPEC int SDLCALL SDL_RenderFillRects(const SDL_Rect ** rect, int count);
1241 1241
1242 /** 1242 /**
1243 * \brief Draw an ellipse on the current rendering target with the drawing color.
1244 *
1245 * \param ellipse The destination ellipse.
1246 *
1247 * \return 0 on success, or -1 if there is no rendering context current.
1248 */
1249 extern DECLSPEC int SDLCALL SDL_RenderDrawEllipse(const SDL_Ellipse ellipse);
1250
1251 /**
1252 * \brief Draw some number of ellipses in the current rendering target with the drawing color.
1253 *
1254 * \param ellipse A pointer to an array of destination ellipses.
1255 * \param count The number of ellipses.
1256 *
1257 * \return 0 on success, or -1 if there is no rendering context current.
1258 */
1259 extern DECLSPEC int SDLCALL SDL_RenderDrawEllipses(const SDL_Ellipse * ellipse, int count);
1260
1261 /**
1262 * \brief Fill an ellipse on the current rendering target with the drawing color.
1263 *
1264 * \param ellipse The destination ellipse
1265 *
1266 * \return 0 on success, or -1 if there is no rendering context current.
1267 */
1268 extern DECLSPEC int SDLCALL SDL_RenderFillEllipse(const SDL_Ellipse ellipse);
1269
1270 /**
1271 * \brief Fill some number of ellipses in the current rendering target with the drawing color.
1272 *
1273 * \param ellipse A pointer to an array of destination ellipses.
1274 * \param count The number of ellipses.
1275 *
1276 * \return 0 on success, or -1 if there is no rendering context current.
1277 */
1278 extern DECLSPEC int SDLCALL SDL_RenderFillEllipses(const SDL_Ellipse *ellipse, int count);
1279
1280 /**
1281 * \brief Draw a polygon on the current rendering target with the drawing color.
1282 *
1283 * \param poly The destination polygon.
1284 *
1285 * \return 0 on success, or -1 if there is no rendering context current.
1286 */
1287 extern DECLSPEC int SDLCALL SDL_RenderDrawPoly(const SDL_Poly poly);
1288
1289 /**
1290 * \brief Draw some number of polygons in the current rendering target with the drawing color.
1291 *
1292 * \param poly A pointer to an array of destination polygons.
1293 * \param count The number of polygons.
1294 *
1295 * \return 0 on success, or -1 if there is no rendering context current.
1296 */
1297 extern DECLSPEC int SDLCALL SDL_RenderDrawPolys(const SDL_Poly *poly, int count);
1298
1299 /**
1300 * \brief Fill a polygon on the current rendering target with the drawing color.
1301 *
1302 * \param poly The destination polygon
1303 *
1304 * \return 0 on success, or -1 if there is no rendering context current.
1305 */
1306 extern DECLSPEC int SDLCALL SDL_RenderFillPoly(const SDL_Poly poly);
1307
1308 /**
1309 * \brief Fill some number of polygons in the current rendering target with the drawing color.
1310 *
1311 * \param poly A pointer to an array of destination polygons.
1312 * \param count The number of polygons.
1313 *
1314 * \return 0 on success, or -1 if there is no rendering context current.
1315 */
1316 extern DECLSPEC int SDLCALL SDL_RenderFillPolys(const SDL_Poly *poly, int count);
1317
1318 /**
1319 * \brief Copy a portion of the texture to the current rendering target. 1243 * \brief Copy a portion of the texture to the current rendering target.
1320 * 1244 *
1321 * \param texture The source texture. 1245 * \param texture The source texture.
1322 * \param srcrect A pointer to the source rectangle, or NULL for the entire 1246 * \param srcrect A pointer to the source rectangle, or NULL for the entire
1323 * texture. 1247 * texture.