Jason2gs
2007-06-28 01:01:10
Here's something new I found out about SCAR :)
I've always only used GetClientCanvas for copying from, but did you know that you can also use it as a destination for a bitmap?
Target your desktop, and run this script:
Not sure if you already know this or not. Just figured I'd show you :)
I've always only used GetClientCanvas for copying from, but did you know that you can also use it as a destination for a bitmap?
Target your desktop, and run this script:
program New;
var
Bitmap: Integer;
W, H: Integer;
begin
Bitmap := CreateBitmapMaskFromText('Hello, World!', UpChars);
GetBitmapSize(Bitmap, W, H);
CopyCanvas(GetBitmapCanvas(Bitmap), GetClientCanvas, 0, 0, W, H, 0, 0, W, H);
end.Not sure if you already know this or not. Just figured I'd show you :)