[SDL] About SDL_Draw library

Jonathan Dearborn grimfang4 at hotmail.com
Wed Oct 10 19:13:24 PDT 2007


Hi there, Coco.
 
If you'd like to see the source for Draw_Pixel, you'll have to download the source from SourceForge.  What you see there probably won't make you happy.  The Draw_Pixel function, like all the rest in SDL_Draw, is a mess of macros.  Like that other guy said, if you really want a pixel function, check the one in the SDL docs.
 
Jonny D
 
 
 



> Date: Tue, 9 Oct 2007 22:55:36 +0800> To: sdl at lists.libsdl.org> From: cocobear.cn at gmail.com> Subject: [SDL] About SDL_Draw library> > I am reading the source code of SDL_draw library,here is the prototype> of Draw_Pixel function:> > void Draw_Pixel(SDL_Surface *super,> Sint16 x, Sint16 y, > Uint32 color);> > But I can't find the implement of this function.> I can only find a function pointer of Draw_Pixel :> > extern DECLSPEC> void (*Draw_Pixel)(SDL_Surface *super,> Sint16 x, Sint16 y, Uint32 color);> > this is just a definition of Draw_Pixel(variable) ,isn't it?> > Anyone can help me?> > > Regards!> > /*> *Welcome to cocobear's home!> *http://cocobear.cn> */> _______________________________________________> SDL mailing list> SDL at lists.libsdl.org> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_________________________________________________________________
Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20071010/d9c47f7f/attachment.htm 


More information about the SDL mailing list