[SDL] I have a tiny feature request

Will Langford unfies at gmail.com
Thu Aug 2 17:57:43 PDT 2007


On 8/2/07, Lazy Foo <lazyfoo at gmail.com> wrote:
>
> matt <mattmatteh <at> earthlink.net> writes:
>
> >
> > i was kinda missing that at one point, but pixel drawing is really slow
> > though.
> >
> > matt
> >
>
> SDL_PutPixel() don't replace blitting. They're there for situations where
> you need to directly access pixels IE bitmap font engines.
>
>
It'd probably end up one of those things where people would start using it
heavily and then complain about the speed and similar... much like using
QUAD's to blit 2d things in opengl.  Besides, working on your own put/get
pixel is a great way to get introduced to SDL.

Granted, you could easily argue that knowing how the insides of surfaces and
such work is beyond the scope of the end user... that they should only be
concerned with higher level stuff...

I dunno.  I'm not extremely active in the SDL world, but I say making people
implement their own putpixel/getpixel stuff is preferred... just as an
introduction to the darker side of graphics programming.

-Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/private.cgi/sdl-libsdl.org/attachments/20070802/efa969cd/attachment.html 


More information about the SDL mailing list