Clipping rect of newly created bitmap is invalid
Original Reporter info from Mantis: tombo
-
Reporter name: Tom Gregorovic
Original Reporter info from Mantis: tombo
- Reporter name: Tom Gregorovic
Description:
Clipping rect of newly created bitmap is invalid.
Steps to reproduce:
uses LCLProc;
{ TForm1 }
procedure TForm1.Button1Click(Sender: TObject);
var
B: TBitmap;
R: TRect;
begin
B := TBitmap.Create;
B.Width := 100;
B.Height := 100;
B.Canvas.FillRect(0, 0, 100, 100);
Caption := DbgS(B.Canvas.ClipRect);
B.Free;
end;
Mantis conversion info:
- Mantis ID: 12026
- OS: Ubuntu
- OS Build: 6.06
- Platform: Linux-i386
- Version: 0.9.25 (SVN)
- Fixed in version: 0.9.25 (SVN)
- Fixed in revision: 16535 (#d6593ebc)
- Monitored by: » @neurolabusc1 (Chris Rorden)
- Target version: 1.2