From e54f6262093d02719cbddaf9655086c62f9d28de Mon Sep 17 00:00:00 2001 From: Curtis Wensley Date: Fri, 26 Jan 2024 11:24:51 -0800 Subject: [PATCH] Add comment about having to dispose the Graphics object --- src/Eto/Drawing/Graphics.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Eto/Drawing/Graphics.cs b/src/Eto/Drawing/Graphics.cs index 1374fe47a3..8d30124517 100644 --- a/src/Eto/Drawing/Graphics.cs +++ b/src/Eto/Drawing/Graphics.cs @@ -36,6 +36,9 @@ public Graphics(IHandler handler) /// /// Initializes a new instance of the Generator class to draw on the given /// + /// + /// To commit the changes to the Bitmap, the Graphics object must be disposed or used with a using block. + /// /// Image to draw on using this graphics context public Graphics(Bitmap image) {