Browse Source

Moar docs updates

pull/228/head
Nikita Tsukanov 11 years ago
parent
commit
375dc41e58
  1. 9
      src/Gtk/Perspex.Cairo/RenderTarget.cs

9
src/Gtk/Perspex.Cairo/RenderTarget.cs

@ -13,7 +13,7 @@ namespace Perspex.Cairo
using global::Cairo;
/// <summary>
/// A cairo renderer.
/// A cairo render target.
/// </summary>
public class RenderTarget : IRenderTarget
{
@ -51,7 +51,6 @@ namespace Perspex.Cairo
/// <summary>
/// Creates a cairo surface that targets a platform-specific resource.
/// </summary>
/// <param name="handle">The platform-specific handle.</param>
/// <returns>A surface wrapped in an <see cref="IDrawingContext"/>.</returns>
public IDrawingContext CreateDrawingContext()
{
@ -72,10 +71,6 @@ namespace Perspex.Cairo
}
}
public void Dispose()
{
if (_surface != null)
_surface.Dispose();
}
public void Dispose() => _surface?.Dispose();
}
}

Loading…
Cancel
Save