4 changed files with 23 additions and 18 deletions
@ -1,19 +1,23 @@ |
|||
using System; |
|||
// -----------------------------------------------------------------------
|
|||
// <copyright file="BrushImpl.cs" company="Steven Kirk">
|
|||
// Copyright 2015 MIT Licence. See licence.md for more information.
|
|||
// </copyright>
|
|||
// -----------------------------------------------------------------------
|
|||
|
|||
namespace Perspex.Direct2D1.Media |
|||
{ |
|||
using System; |
|||
|
|||
public abstract class BrushImpl : IDisposable |
|||
{ |
|||
public SharpDX.Direct2D1.Brush PlatformBrush { get; set; } |
|||
|
|||
public BrushImpl(Perspex.Media.Brush brush, SharpDX.Direct2D1.RenderTarget target, Size destinationSize) |
|||
{ |
|||
} |
|||
|
|||
public virtual void Dispose() |
|||
{ |
|||
if (this.PlatformBrush != null) |
|||
{ |
|||
this.PlatformBrush.Dispose(); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue