diff src/video/SDL_video.c @ 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 9fa97c6b0014
children 590e680cc4e4
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Jun 03 14:43:38 2010 -0400
+++ b/src/video/SDL_video.c	Thu Jun 03 16:21:04 2010 -0400
@@ -2534,6 +2534,38 @@
     return renderer->RenderFillRects(renderer, rects, count);
 }
 
+int SDL_RenderDrawEllipse(const SDL_Ellipse ellipse) {
+	return SDL_RenderDrawEllipses(&ellipse,1);
+}
+
+int SDL_RenderDrawEllipses(const SDL_Ellipse * ellipse, int count) {
+	return -1;
+}
+
+int SDL_RenderFillEllipse(const SDL_Ellipse ellipse) {
+    return SDL_RenderFillEllipses(&ellipse,1);
+}
+
+int SDL_RenderFillEllipses(const SDL_Ellipse ** ellipse, int count) {
+    return -1;
+}
+
+int SDL_RenderDrawPoly(const SDL_Poly poly) {
+    return SDL_RenderDrawPolys(&poly,1);
+}
+
+int SDL_RenderDrawPolys(const SDL_Poly *poly, int count) {
+    return -1;
+}
+
+int SDL_RenderFillPoly(const SDL_Poly poly) {
+    return SDL_RenderFillPolys(&poly,1);
+}
+
+int SDL_RenderFillPolys(const SDL_Poly *poly, int count) {
+    return -1;
+}
+
 int
 SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect,
                const SDL_Rect * dstrect)