From bfdc4cd487c7aa11d028c68fbe19cde9a506ae39 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 14 Sep 2015 22:19:41 +0200 Subject: [PATCH] Assign Surface in RTB. --- .../Perspex.Cairo/Media/Imaging/RenderTargetBitmapImpl.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Gtk/Perspex.Cairo/Media/Imaging/RenderTargetBitmapImpl.cs b/src/Gtk/Perspex.Cairo/Media/Imaging/RenderTargetBitmapImpl.cs index 8c017d9cfd..ef816d6910 100644 --- a/src/Gtk/Perspex.Cairo/Media/Imaging/RenderTargetBitmapImpl.cs +++ b/src/Gtk/Perspex.Cairo/Media/Imaging/RenderTargetBitmapImpl.cs @@ -10,10 +10,9 @@ namespace Perspex.Cairo.Media.Imaging public class RenderTargetBitmapImpl : IRenderTargetBitmapImpl { - public RenderTargetBitmapImpl( - Cairo.ImageSurface surface) + public RenderTargetBitmapImpl(Cairo.ImageSurface surface) { - + Surface = surface; } public int PixelWidth => Surface.Width; @@ -25,7 +24,6 @@ namespace Perspex.Cairo.Media.Imaging Surface.Dispose(); } - public Cairo.ImageSurface Surface { get;