include/SDL_surface.h
changeset 5163 d72793305335
parent 5138 da10636e5eca
child 5241 189b1bdb7baf
     1.1 --- a/include/SDL_surface.h	Thu Feb 03 02:42:50 2011 -0800
     1.2 +++ b/include/SDL_surface.h	Thu Feb 03 02:45:29 2011 -0800
     1.3 @@ -364,85 +364,6 @@
     1.4                                                void * dst, int dst_pitch);
     1.5  
     1.6  /**
     1.7 - *  Draws a point with \c color.
     1.8 - *
     1.9 - *  The color should be a pixel of the format used by the surface, and 
    1.10 - *  can be generated by the SDL_MapRGB() function.
    1.11 - *  
    1.12 - *  \return 0 on success, or -1 on error.
    1.13 - */
    1.14 -extern DECLSPEC int SDLCALL SDL_DrawPoint
    1.15 -    (SDL_Surface * dst, int x, int y, Uint32 color);
    1.16 -extern DECLSPEC int SDLCALL SDL_DrawPoints
    1.17 -    (SDL_Surface * dst, const SDL_Point * points, int count, Uint32 color);
    1.18 -
    1.19 -/**
    1.20 - *  Blends a point with an RGBA value.
    1.21 - *  
    1.22 - *  \return 0 on success, or -1 on error.
    1.23 - */
    1.24 -extern DECLSPEC int SDLCALL SDL_BlendPoint
    1.25 -    (SDL_Surface * dst, int x, int y,
    1.26 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
    1.27 -extern DECLSPEC int SDLCALL SDL_BlendPoints
    1.28 -    (SDL_Surface * dst, const SDL_Point * points, int count,
    1.29 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
    1.30 -
    1.31 -/**
    1.32 - *  Draws a line with \c color.
    1.33 - *  
    1.34 - *  The color should be a pixel of the format used by the surface, and 
    1.35 - *  can be generated by the SDL_MapRGB() function.
    1.36 - *  
    1.37 - *  \return 0 on success, or -1 on error.
    1.38 - */
    1.39 -extern DECLSPEC int SDLCALL SDL_DrawLine
    1.40 -    (SDL_Surface * dst, int x1, int y1, int x2, int y2, Uint32 color);
    1.41 -extern DECLSPEC int SDLCALL SDL_DrawLines
    1.42 -    (SDL_Surface * dst, const SDL_Point * points, int count, Uint32 color);
    1.43 -
    1.44 -/**
    1.45 - *  Blends an RGBA value along a line.
    1.46 - *  
    1.47 - *  \return 0 on success, or -1 on error.
    1.48 - */
    1.49 -extern DECLSPEC int SDLCALL SDL_BlendLine
    1.50 -    (SDL_Surface * dst, int x1, int y1, int x2, int y2,
    1.51 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
    1.52 -extern DECLSPEC int SDLCALL SDL_BlendLines
    1.53 -    (SDL_Surface * dst, const SDL_Point * points, int count,
    1.54 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
    1.55 -
    1.56 -/**
    1.57 - *  Draws the given rectangle with \c color.
    1.58 - *  
    1.59 - *  If \c rect is NULL, the whole surface will be outlined with \c color.
    1.60 - *  
    1.61 - *  The color should be a pixel of the format used by the surface, and 
    1.62 - *  can be generated by the SDL_MapRGB() function.
    1.63 - *  
    1.64 - *  \return 0 on success, or -1 on error.
    1.65 - */
    1.66 -extern DECLSPEC int SDLCALL SDL_DrawRect
    1.67 -    (SDL_Surface * dst, const SDL_Rect * rect, Uint32 color);
    1.68 -extern DECLSPEC int SDLCALL SDL_DrawRects
    1.69 -    (SDL_Surface * dst, const SDL_Rect ** rects, int count, Uint32 color);
    1.70 -
    1.71 -/**
    1.72 - *  Blends an RGBA value into the outline of the given rectangle.
    1.73 - *  
    1.74 - *  If \c rect is NULL, the whole surface will have a blended outline.
    1.75 - *  
    1.76 - *  \return 0 on success, or -1 on error.
    1.77 - */
    1.78 -extern DECLSPEC int SDLCALL SDL_BlendRect
    1.79 -    (SDL_Surface * dst, const SDL_Rect * rect,
    1.80 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
    1.81 -extern DECLSPEC int SDLCALL SDL_BlendRects
    1.82 -    (SDL_Surface * dst, const SDL_Rect ** rects, int count,
    1.83 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
    1.84 -
    1.85 -/**
    1.86   *  Performs a fast fill of the given rectangle with \c color.
    1.87   *  
    1.88   *  If \c rect is NULL, the whole surface will be filled with \c color.
    1.89 @@ -458,20 +379,6 @@
    1.90      (SDL_Surface * dst, const SDL_Rect ** rects, int count, Uint32 color);
    1.91  
    1.92  /**
    1.93 - *  Blends an RGBA value into the given rectangle.
    1.94 - *  
    1.95 - *  If \c rect is NULL, the whole surface will be blended with the color.
    1.96 - *  
    1.97 - *  \return This function returns 0 on success, or -1 on error.
    1.98 - */
    1.99 -extern DECLSPEC int SDLCALL SDL_BlendFillRect
   1.100 -    (SDL_Surface * dst, const SDL_Rect * rect,
   1.101 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
   1.102 -extern DECLSPEC int SDLCALL SDL_BlendFillRects
   1.103 -    (SDL_Surface * dst, const SDL_Rect ** rects, int count,
   1.104 -     SDL_BlendMode blendMode, Uint8 r, Uint8 g, Uint8 b, Uint8 a);
   1.105 -
   1.106 -/**
   1.107   *  Performs a fast blit from the source surface to the destination surface.
   1.108   *  
   1.109   *  This assumes that the source and destination rectangles are