Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4771:c500594c4246 | 4772:37e9f8154ac4 |
---|---|
2532 } | 2532 } |
2533 } | 2533 } |
2534 return renderer->RenderFillRects(renderer, rects, count); | 2534 return renderer->RenderFillRects(renderer, rects, count); |
2535 } | 2535 } |
2536 | 2536 |
2537 int SDL_RenderDrawEllipse(const SDL_Ellipse ellipse) { | |
2538 return SDL_RenderDrawEllipses(&ellipse,1); | |
2539 } | |
2540 | |
2541 int SDL_RenderDrawEllipses(const SDL_Ellipse * ellipse, int count) { | |
2542 return -1; | |
2543 } | |
2544 | |
2545 int SDL_RenderFillEllipse(const SDL_Ellipse ellipse) { | |
2546 return SDL_RenderFillEllipses(&ellipse,1); | |
2547 } | |
2548 | |
2549 int SDL_RenderFillEllipses(const SDL_Ellipse ** ellipse, int count) { | |
2550 return -1; | |
2551 } | |
2552 | |
2553 int SDL_RenderDrawPoly(const SDL_Poly poly) { | |
2554 return SDL_RenderDrawPolys(&poly,1); | |
2555 } | |
2556 | |
2557 int SDL_RenderDrawPolys(const SDL_Poly *poly, int count) { | |
2558 return -1; | |
2559 } | |
2560 | |
2561 int SDL_RenderFillPoly(const SDL_Poly poly) { | |
2562 return SDL_RenderFillPolys(&poly,1); | |
2563 } | |
2564 | |
2565 int SDL_RenderFillPolys(const SDL_Poly *poly, int count) { | |
2566 return -1; | |
2567 } | |
2568 | |
2537 int | 2569 int |
2538 SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect, | 2570 SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect, |
2539 const SDL_Rect * dstrect) | 2571 const SDL_Rect * dstrect) |
2540 { | 2572 { |
2541 SDL_Renderer *renderer; | 2573 SDL_Renderer *renderer; |