[sdljava-users] (no subject)
Status: Beta
Brought to you by:
ivan_ganza
From: Thomas B. <19...@gm...> - 2007-05-23 09:05:25
|
Hi @all! My name is Thomas, I'm a german software engeneer and I've got a problem with sdljava.I didn't get solved by extensively searching the web. Question: Why is it not allowed to blit a surface onto another (surface.blitsurface(SrcRect,screen,DestRect)by giving the rectangle negative values. For example: my Position on the main-surface where to blit is DestRect.x=-200; DestRect.y=-10; DestRect.w=100;DestRect.h=100 I read in the sdljava-doc that if the blitting succeeds the blitted coordinates are written back to the DestRect. When I do the blit, my DestRect.x is at -200 so I would think that the blitting was done without any errors - but the blitting was done on (0|0) - no matter what negative values I choose...it's erverytime on (0|0) This blitting with negative values is very important for scrolling and is no problem in the c++ binding or the sdl.net binding..so is there a cause to do so? Or is it a bug (and if so.. will it be fixed) Greetings to all of you, Thomas -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser |