include/SDL_surface.h
changeset 3434 147d6ef5be03
parent 3407 d3baf5ac4e37
child 3536 0267b8b1595c
equal deleted inserted replaced
3433:ad845d9835aa 3434:147d6ef5be03
   383  *  
   383  *  
   384  *  This function is used internally by SDL_DisplayFormat().
   384  *  This function is used internally by SDL_DisplayFormat().
   385  */
   385  */
   386 extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface
   386 extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface
   387     (SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
   387     (SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
       
   388 
       
   389 /**
       
   390  * \brief Copy a block of pixels of one format to another format
       
   391  */
       
   392 extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
       
   393                                               Uint32 src_format,
       
   394                                               const void * src, int src_pitch,
       
   395                                               Uint32 dst_format,
       
   396                                               void * dst, int dst_pitch);
   388 
   397 
   389 /**
   398 /**
   390  *  Draws a point with \c color.
   399  *  Draws a point with \c color.
   391  *
   400  *
   392  *  The color should be a pixel of the format used by the surface, and 
   401  *  The color should be a pixel of the format used by the surface, and