--- a/include/SDL_surface.h Sat Dec 20 12:32:53 2008 +0000
+++ b/include/SDL_surface.h Sat Dec 20 13:14:28 2008 +0000
@@ -366,6 +366,23 @@
(SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
/*
+ * This function draws a line with 'color'
+ * The color should be a pixel of the format used by the surface, and
+ * can be generated by the SDL_MapRGB() function.
+ * This function returns 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_DrawLine
+ (SDL_Surface * dst, int x1, int y1, int x2, int y2, Uint32 color);
+
+/*
+ * This function blends an RGBA value along a line
+ * This function returns 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_BlendLine
+ (SDL_Surface * dst, int x1, int y1, int x2, int y2, int blendMode,
+ Uint8 r, Uint8 g, Uint8 b, Uint8 a);
+
+/*
* This function performs a fast fill of the given rectangle with 'color'
* The given rectangle is clipped to the destination surface clip area
* and the final fill rectangle is saved in the passed in pointer.
@@ -378,6 +395,17 @@
(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color);
/*
+ * This function blends an RGBA value into the given rectangle.
+ * The given rectangle is clipped to the destination surface clip area
+ * and the final fill rectangle is saved in the passed in pointer.
+ * If 'dstrect' is NULL, the whole surface will be filled with 'color'
+ * This function returns 0 on success, or -1 on error.
+ */
+extern DECLSPEC int SDLCALL SDL_BlendRect
+ (SDL_Surface * dst, SDL_Rect * dstrect, int blendMode, Uint8 r, Uint8 g,
+ Uint8 b, Uint8 a);
+
+/*
* This performs a fast blit from the source surface to the destination
* surface. It assumes that the source and destination rectangles are
* the same size. If either 'srcrect' or 'dstrect' are NULL, the entire