procedure TDirectDrawSurface.StretchDraw(const DestRect, SrcRect: TRect; Source: TDirectDrawSurface;
Transparent: Boolean);


first is DESTINATIONrect so should be 512*512.
second is the SOURCErect so should be 1024*1024
third is source

so it seems im doing it right?