include/SDL_video.h
changeset 4771 c500594c4246
parent 3697 f7b03b6838cb
child 4772 37e9f8154ac4
     1.1 --- a/include/SDL_video.h	Mon May 31 21:23:06 2010 -0400
     1.2 +++ b/include/SDL_video.h	Thu Jun 03 14:43:38 2010 -0400
     1.3 @@ -32,6 +32,8 @@
     1.4  #include "SDL_stdinc.h"
     1.5  #include "SDL_pixels.h"
     1.6  #include "SDL_rect.h"
     1.7 +#include "SDL_ellipse.h"
     1.8 +#include "SDL_poly.h"
     1.9  #include "SDL_surface.h"
    1.10  
    1.11  #include "begin_code.h"
    1.12 @@ -1238,6 +1240,83 @@
    1.13  extern DECLSPEC int SDLCALL SDL_RenderFillRects(const SDL_Rect ** rect, int count);
    1.14  
    1.15  /**
    1.16 + *  \brief Draw an ellipse on the current rendering target with the drawing color.
    1.17 + *
    1.18 + *  \param ellipse The destination ellipse.
    1.19 + *
    1.20 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.21 + */
    1.22 +extern DECLSPEC int SDLCALL SDL_RenderDrawEllipse(const SDL_Ellipse ellipse);
    1.23 +
    1.24 +/**
    1.25 + *  \brief Draw some number of ellipses in the current rendering target with the drawing color.
    1.26 + *  
    1.27 + *  \param ellipse A pointer to an array of destination ellipses.
    1.28 + *  \param count The number of ellipses.
    1.29 + *  
    1.30 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.31 + */
    1.32 +extern DECLSPEC int SDLCALL SDL_RenderDrawEllipses(const SDL_Ellipse ** ellipse, int count);
    1.33 +
    1.34 +/**
    1.35 + *  \brief Fill an ellipse on the current rendering target with the drawing color.
    1.36 + *  
    1.37 + *  \param ellipse The destination ellipse
    1.38 + *  
    1.39 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.40 + */
    1.41 +extern DECLSPEC int SDLCALL SDL_RenderFillEllipse(const SDL_Ellipse ellipse);
    1.42 +
    1.43 +/**
    1.44 + *  \brief Fill some number of ellipses in the current rendering target with the drawing color.
    1.45 + *  
    1.46 + *  \param ellipse A pointer to an array of destination ellipses.
    1.47 + *  \param count The number of ellipses.
    1.48 + *  
    1.49 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.50 + */
    1.51 +extern DECLSPEC int SDLCALL SDL_RenderFillEllipses(const SDL_Ellipse ** ellipse, int count);
    1.52 +
    1.53 +/**
    1.54 + *  \brief Draw a polygon on the current rendering target with the drawing color.
    1.55 + *
    1.56 + *  \param poly The destination polygon.
    1.57 + *
    1.58 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.59 + */
    1.60 +extern DECLSPEC int SDLCALL SDL_RenderDrawPoly(const SDL_Poly poly);
    1.61 +
    1.62 +/**
    1.63 + *  \brief Draw some number of polygons in the current rendering target with the drawing color.
    1.64 + *  
    1.65 + *  \param poly A pointer to an array of destination polygons.
    1.66 + *  \param count The number of polygons.
    1.67 + *  
    1.68 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.69 + */
    1.70 +extern DECLSPEC int SDLCALL SDL_RenderDrawPolys(const SDL_Poly ** poly, int count);
    1.71 +
    1.72 +/**
    1.73 + *  \brief Fill a polygon on the current rendering target with the drawing color.
    1.74 + *  
    1.75 + *  \param poly The destination polygon
    1.76 + *  
    1.77 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.78 + */
    1.79 +extern DECLSPEC int SDLCALL SDL_RenderFillPoly(const SDL_Poly poly);
    1.80 +
    1.81 +/**
    1.82 + *  \brief Fill some number of polygons in the current rendering target with the drawing color.
    1.83 + *  
    1.84 + *  \param poly A pointer to an array of destination polygons.
    1.85 + *  \param count The number of polygons.
    1.86 + *  
    1.87 + *  \return 0 on success, or -1 if there is no rendering context current.
    1.88 + */
    1.89 +extern DECLSPEC int SDLCALL SDL_RenderFillPolys(const SDL_Poly ** poly, int count);
    1.90 +
    1.91 +
    1.92 +/**
    1.93   *  \brief Copy a portion of the texture to the current rendering target.
    1.94   *  
    1.95   *  \param texture The source texture.