Draw an image (source) within an image (destination) NOTE: Color tint is applied to source image
None.
dst = raylib.GenImageColor(128, 128, raylib.BLACK) src = raylib.GenImageColor(32, 32, raylib.RED) srcRec = {x:0, y:0, width:32, height:32} dstRec = {x:48, y:48, width:32, height:32} raylib.ImageDraw dst, src, srcRec, dstRec, raylib.WHITE raylib.UnloadImage src raylib.ExportImage dst, "composed.png" raylib.UnloadImage dst
There was an error while loading. Please reload this page.