- attached Bild-ACA10C1F-7B6.jpg
Bitmap.canvas.ClearRect clears image but dont set background color
Issue #95
resolved
If you call ClearRect, the Image is cleared, but the Color is not set. Backbround is full transparent.
procedure TForm82.Button1Click(Sender: TObject); begin image1.bitmap.canvas.beginscene; image1.bitmap.Canvas.ClearRect(rect (0,0, image1.bitmap.width, image1.Bitmap.Height), TAlphaColorRec.White); image1.bitmap.canvas.endscene; end;
Try the attached demo, run it on Windows and on Linux and see the difference.
Comments (2)
-
reporter -
repo owner - changed status to resolved
0.99l Don't require uninstallation
- Log in to comment