我在 Delphi 7 中有以下错误消息:
未声明的标识符:“扫描线”
我的用途:使用 Windows、消息、SysUtils、变体、类、图形、控件、表单、对话框、菜单、按钮、StdCtrls、ExtCtrls、math、ComCtrls;
我的部分代码:
screenshot(0,0,screen.Width,screen.Height,bmp);
for a:=1 to screen.Height do begin
pxl:=scanline[a-1];
end;
其中 pxl 是PByteArray
;
screenshot
是将所选区域捕获到位图中的过程...
使用图形库的 AFAIK 扫描线功能,但它不起作用..
我做错了什么?
谢谢