[SDL] About SDL_Draw library

cocobear cocobear.cn at gmail.com
Thu Oct 11 21:34:01 PDT 2007


于 Thu, 11 Oct 2007 20:06:11 +0100
Paul Duffy <odubtaig at yahoo.co.uk> 写道:

> On Tue, 2007-10-09 at 22:55 +0800, cocobear wrote:
> > extern DECLSPEC
> > void (*Draw_Pixel)(SDL_Surface *super,
> >                    Sint16 x, Sint16 y, Uint32 color);
> 
> That's a pointer to a function rather than a function in and of
> itself. The functions themselves (which may be chosen based on colour
> depth or compile-time directives such as endianness) will be in
> another file in the source code.
> 


I can only find Draw_Pixel as a variable in the source code.


> 
> 	
> 	
> 		
> ___________________________________________________________ 
> All new Yahoo! Mail "The new Interface is stunning in its simplicity
> and ease of use." - PC Magazine
> http://uk.docs.yahoo.com/nowyoucan.html
> _______________________________________________ SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



Regards!

/*
 *Welcome to cocobear's home!
 *http://cocobear.cn
 */


More information about the SDL mailing list