View Single Post
Old 10-31-2018, 07:54 AM   #4
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Quote:
Originally Posted by Justin View Post
Try this:
Code:
input_info(0,w,h);
gfx_blit(0,0, 0,0,project_w,project_h,w,0,-w,h);
For more power you can also use gfx_deltablit() to do transformations, e.g.
Code:
input_info(0,w,h);
gfx_deltablit(0, 0,0, project_w,project_h,
             w,0, // starting source coordinates
            -w/project_w,0, // source delta-X/delta-Y with respect to output X
            0,h/project_h   // source delta-X/delta-Y with respect to output Y
            );
Saved for the love of video processor.
Eliseat is offline   Reply With Quote