include/SDL_surface.h
changeset 2901 133601e3b255
parent 2888 32e8bbba1e94
child 3024 1a08749aebce
--- a/include/SDL_surface.h	Sun Dec 21 08:59:56 2008 +0000
+++ b/include/SDL_surface.h	Sun Dec 21 17:39:41 2008 +0000
@@ -366,6 +366,25 @@
     (SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
 
 /*
+ * This function draws a point 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_DrawPoint
+    (SDL_Surface * dst, int x, int y, Uint32 color);
+
+/*
+ * This function blends a point with an RGBA value
+ * 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_BlendPoint
+    (SDL_Surface * dst, int x, int y, int blendMode,
+     Uint8 r, Uint8 g, Uint8 b, Uint8 a);
+
+/*
  * 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.