mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 08:59:13 +02:00
examples canvas_test: set canvas.copymode to srccopy, since it's cmWhiteness in next paint.
git-svn-id: trunk@44368 -
This commit is contained in:
parent
43f34d9bc2
commit
c3b928689b
@ -39,7 +39,7 @@ begin
|
|||||||
Bmp.Height := 50;
|
Bmp.Height := 50;
|
||||||
Bmp.Canvas.Brush.Color := clBlue;
|
Bmp.Canvas.Brush.Color := clBlue;
|
||||||
Bmp.Canvas.Rectangle(0, 0, 50, 50);
|
Bmp.Canvas.Rectangle(0, 0, 50, 50);
|
||||||
|
Canvas.CopyMode := cmSrcCopy;
|
||||||
// BrushCopy
|
// BrushCopy
|
||||||
|
|
||||||
Canvas.TextOut(50, 30, 'CopyBrush simple');
|
Canvas.TextOut(50, 30, 'CopyBrush simple');
|
||||||
|
Loading…
Reference in New Issue
Block a user