include/SDL_render.h
changeset 5164 97423d858a1a
parent 5158 b3ccd1947786
child 5166 4d39eeaad00b
     1.1 --- a/include/SDL_render.h	Thu Feb 03 02:45:29 2011 -0800
     1.2 +++ b/include/SDL_render.h	Thu Feb 03 10:03:55 2011 -0800
     1.3 @@ -24,13 +24,29 @@
     1.4   *  \file SDL_render.h
     1.5   *  
     1.6   *  Header file for SDL 2D rendering functions.
     1.7 + *
     1.8 + *  This API supports the following features:
     1.9 + *      * single pixel points
    1.10 + *      * single pixel lines
    1.11 + *      * filled rectangles
    1.12 + *      * texture images
    1.13 + *
    1.14 + *  The primitives may be drawn in opaque, blended, or additive modes.
    1.15 + *
    1.16 + *  The texture images may be drawn in opaque, blended, or additive modes.
    1.17 + *  They can have an additional color tint or alpha modulation applied to
    1.18 + *  them, and may also be stretched with linear interpolation.
    1.19 + *
    1.20 + *  This API is designed to accelerate simple 2D operations. You may
    1.21 + *  want more functionality such as rotation and particle effects and
    1.22 + *  in that case you should use SDL's OpenGL/Direct3D support or one
    1.23 + *  of the many good 3D engines.
    1.24   */
    1.25  
    1.26  #ifndef _SDL_render_h
    1.27  #define _SDL_render_h
    1.28  
    1.29  #include "SDL_stdinc.h"
    1.30 -//#include "SDL_pixels.h"
    1.31  #include "SDL_rect.h"
    1.32  #include "SDL_video.h"
    1.33