T
TDA2822M
Unregistered / Unconfirmed
GUEST, unregistred user!
var
bmpScreen:TCanvas;
Bmp,Tmp:TBitmap;
begin
Bmp:=TBitmap.Create;
Bmp.LoadFromFile('D:/Back.bmp');
Form1.Canvas.StretchDraw(ClientRect,Bmp);
Canvas.Brush.Style:=bsClear;
//Canvas.Brush.Color:=clNone;//加了这句,输出的文字就不透明了。那Canvas.Brush.
//Color究竟默认是什么值来的?
Canvas.Font.Name:='宋体';
Canvas.Font.Size:=28;
Canvas.Font.Color:=clBlue;
Canvas.Font.Style:=[fsBold];
Canvas.TextOut(100,100,'你好');
Bmp.Free;
没分了。只有5分。
bmpScreen:TCanvas;
Bmp,Tmp:TBitmap;
begin
Bmp:=TBitmap.Create;
Bmp.LoadFromFile('D:/Back.bmp');
Form1.Canvas.StretchDraw(ClientRect,Bmp);
Canvas.Brush.Style:=bsClear;
//Canvas.Brush.Color:=clNone;//加了这句,输出的文字就不透明了。那Canvas.Brush.
//Color究竟默认是什么值来的?
Canvas.Font.Name:='宋体';
Canvas.Font.Size:=28;
Canvas.Font.Color:=clBlue;
Canvas.Font.Style:=[fsBold];
Canvas.TextOut(100,100,'你好');
Bmp.Free;
没分了。只有5分。