Browse Source

Assign Surface in RTB.

pull/141/head
Steven Kirk 11 years ago
parent
commit
bfdc4cd487
  1. 6
      src/Gtk/Perspex.Cairo/Media/Imaging/RenderTargetBitmapImpl.cs

6
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;

Loading…
Cancel
Save