Simba Code:
program new;
var
tbmp,tbmp2:tbitmap;
mbmp,mbmp2:TMufasaBitmap;
bmp,bmp2:integer;
c:TCanvas;
begin
ClearDebugImg ;
bmp:=CreateBitmap(100,100);
mbmp:=GetMufasaBitmap(bmp);
mbmp.FastDrawClear (clwhite);
tbmp := mbmp.ToTBitmap;
c:=tbmp.Canvas
mbmp.DrawToCanvas(0,0,c);
bmp2:=CreateBitmap(10,10);
mbmp2:=getmufasabitmap(bmp2);
mbmp2.FastDrawClear(16777215);
tbmp2:=mbmp2.ToTBitmap;
mbmp2.DrawToCanvas(0,0,c)
DisplayDebugImgWindow (100,100);
end.
i swear im totally headed in the wron direction, I am trying to get that 10 by 10 block to appear on the canvas but dang i cannot figure out how to draw it