In a blt, what happens if part of the destination rectangle is outside the surface?
ex :
It seems that nothing is copied and no error detected... Am I wrong?
Do I need to detect the overlapping by my own?
jul'
ex :
- Code:
CGapiSurface surf1;
CGapiSurface surf2;
surf1.CreateSurface(GDCREATESURFACE_CLEAR,100,100);
surf2.CreateSurface(GDCREATESURFACE_CLEAR,100,100);
/* put something in surf2 */
CRect rect(0,50,100,150);
surf1.Blt(rect,surf2,NULL,GDBLT_KEYSRC,NULL);
It seems that nothing is copied and no error detected... Am I wrong?
Do I need to detect the overlapping by my own?
jul'