[SDL] SDL_Rect in SDL_ttf
Bill Kendrick
nbs at sonic.net
Thu Feb 26 09:52:36 PST 2004
On Tue, Feb 24, 2004 at 03:43:13PM +0100, Alberto Glarey wrote:
> in this case my function draw a simple text message, starting of course
> at x=50 and y=50,but i dont understand why, because heght and width of
> dest2 are for example zero or negative numbers, i think it was supposed
> at least to have a SDL_parachute but i have no errors .
Width and height of the /destination/ are ignored in an SDL_BlitSurface()
call. Those of the source are paid attention to, assuming it's not a NULL
pointer (in which case, it's assumed you want the entire source to be
copied).
Hope that makes sense!
-bill!
bill at newbreedsoftware.com "Hey Shatner, ya remember that episode of
http://newbreedsoftware.com/bill/ Space Trek where your show got cancelled?"
More information about the SDL
mailing list