include/SDL_surface.h
changeset 4971 158bb5752974
parent 4949 68da5a234bba
child 5138 da10636e5eca
     1.1 --- a/include/SDL_surface.h	Mon Jan 10 12:15:16 2011 -0800
     1.2 +++ b/include/SDL_surface.h	Wed Jan 12 09:47:33 2011 -0800
     1.3 @@ -161,9 +161,9 @@
     1.4  extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface * surface);
     1.5  
     1.6  /**
     1.7 - *  Load a surface from a seekable SDL data source (memory or file).
     1.8 + *  Load a surface from a seekable SDL data stream (memory or file).
     1.9   *  
    1.10 - *  If \c freesrc is non-zero, the source will be closed after being read.
    1.11 + *  If \c freesrc is non-zero, the stream will be closed after being read.
    1.12   *  
    1.13   *  The new surface should be freed with SDL_FreeSurface().
    1.14   *  
    1.15 @@ -180,9 +180,9 @@
    1.16  #define SDL_LoadBMP(file)	SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1)
    1.17  
    1.18  /**
    1.19 - *  Save a surface to a seekable SDL data source (memory or file).
    1.20 + *  Save a surface to a seekable SDL data stream (memory or file).
    1.21   *  
    1.22 - *  If \c freedst is non-zero, the source will be closed after being written.
    1.23 + *  If \c freedst is non-zero, the stream will be closed after being written.
    1.24   *  
    1.25   *  \return 0 if successful or -1 if there was an error.
    1.26   */
    1.27 @@ -237,9 +237,9 @@
    1.28   *  \brief Set an additional color value used in blit operations.
    1.29   *  
    1.30   *  \param surface The surface to update.
    1.31 - *  \param r The red source color value multiplied into blit operations.
    1.32 - *  \param g The green source color value multiplied into blit operations.
    1.33 - *  \param b The blue source color value multiplied into blit operations.
    1.34 + *  \param r The red color value multiplied into blit operations.
    1.35 + *  \param g The green color value multiplied into blit operations.
    1.36 + *  \param b The blue color value multiplied into blit operations.
    1.37   *  
    1.38   *  \return 0 on success, or -1 if the surface is not valid.
    1.39   *  
    1.40 @@ -253,9 +253,9 @@
    1.41   *  \brief Get the additional color value used in blit operations.
    1.42   *  
    1.43   *  \param surface The surface to query.
    1.44 - *  \param r A pointer filled in with the source red color value.
    1.45 - *  \param g A pointer filled in with the source green color value.
    1.46 - *  \param b A pointer filled in with the source blue color value.
    1.47 + *  \param r A pointer filled in with the current red color value.
    1.48 + *  \param g A pointer filled in with the current green color value.
    1.49 + *  \param b A pointer filled in with the current blue color value.
    1.50   *  
    1.51   *  \return 0 on success, or -1 if the surface is not valid.
    1.52   *  
    1.53 @@ -269,7 +269,7 @@
    1.54   *  \brief Set an additional alpha value used in blit operations.
    1.55   *  
    1.56   *  \param surface The surface to update.
    1.57 - *  \param alpha The source alpha value multiplied into blit operations.
    1.58 + *  \param alpha The alpha value multiplied into blit operations.
    1.59   *  
    1.60   *  \return 0 on success, or -1 if the surface is not valid.
    1.61   *  
    1.62 @@ -282,7 +282,7 @@
    1.63   *  \brief Get the additional alpha value used in blit operations.
    1.64   *  
    1.65   *  \param surface The surface to query.
    1.66 - *  \param alpha A pointer filled in with the source alpha value.
    1.67 + *  \param alpha A pointer filled in with the current alpha value.
    1.68   *  
    1.69   *  \return 0 on success, or -1 if the surface is not valid.
    1.70   *